feat(console): add tooltip for indicator on inherit button in feature settings (#8238)

# Which Problems Are Solved

- Bubble indicator on inherit button in feature settings is not clear on
what system default behavior is inherited

# How the Problems Are Solved

- Creates tooltip to show what system default behavior is inherited when
cursor hovers over indicator. When indicator is red "Disabled" is
inherited and when the indicator is green "Enabled" is inherited.


![Zitadel_Inherit_Indicator_Disabled](https://github.com/zitadel/zitadel/assets/121371226/2b90cd79-09bf-499f-bf85-f499dccf5b96)


![Zitadel_Inherit_Indicator_Enabled](https://github.com/zitadel/zitadel/assets/121371226/98a838ec-d228-4974-b251-96e548163222)

# Additional Changes

- Adds translations for indicator tooltip message

# Additional Context

- Closes #8129 
- https://discord.com/channels/927474939156643850/1250477939431178363

Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
Andy Vo
2024-07-04 13:06:52 +02:00
committed by GitHub
co-authored by Elio Bischof
parent 7573e0ea8f
commit c17ab9f82a
16 changed files with 72 additions and 0 deletions
+4
View File
@@ -1475,6 +1475,10 @@
"DISABLED": "已禁用"
},
"INHERITED_DESCRIPTION": "此设置将值设置为系统默认值。",
"INHERITEDINDICATOR_DESCRIPTION": {
"ENABLED": "“已启用” 是继承的",
"DISABLED": "“已禁用” 是继承的"
},
"RESET": "全部设置为继承"
},
"DIALOG": {