Skip to content

ECHO-373 Disable "Create View" and relevant components if views exist and flag is off#249

Merged
ussaama merged 2 commits intomainfrom
disable-create-view-condition
Jul 29, 2025
Merged

ECHO-373 Disable "Create View" and relevant components if views exist and flag is off#249
ussaama merged 2 commits intomainfrom
disable-create-view-condition

Conversation

@ussaama
Copy link
Copy Markdown
Contributor

@ussaama ussaama commented Jul 29, 2025

  • Disable "Create View" and relevant components if views exist and flag is off
  • add tooltip to "Recreate view"
  • add translations for "Recreate view"

Summary by CodeRabbit

  • New Features

    • The "Recreate View" refresh button is now only visible when the library feature is enabled, and includes a tooltip for improved usability.
  • Localization

    • Added and updated translation entries for the new "Recreate View" tooltip and modal title in all supported languages.
    • Updated translation files to align with current source code references; no changes to existing translations.
  • Refactor

    • Certain UI elements in the project library are now conditionally displayed based on whether the library feature is enabled.

ussaama added 2 commits July 29, 2025 07:40
…ed" alert only if audio processing enabled

- add "Recreate view" tooltip to the regenerate view icon
@linear
Copy link
Copy Markdown

linear bot commented Jul 29, 2025

@ussaama ussaama enabled auto-merge July 29, 2025 07:46
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Jul 29, 2025

Walkthrough

This change introduces conditional UI rendering in the project library and view components, based on a new isLibraryEnabled flag. The refresh button and "Create View" button are now only visible when the library feature is enabled. Localization files are updated with new translation keys and synchronized source references.

Changes

Cohort / File(s) Change Summary
View Component Logic
echo/frontend/src/components/view/View.tsx
Added isLibraryEnabled prop to ViewExpandedCard. Refresh button now conditionally rendered and wrapped in a tooltip.
Project Library Feature Flag
echo/frontend/src/routes/project/library/ProjectLibrary.tsx
UI elements ("Create View" button, ProjectAnalysisRunStatus, and ViewExpandedCard) now conditionally rendered based on isLibraryEnabled.
Localization PO Files
echo/frontend/src/locales/en-US.po, .../de-DE.po, .../es-ES.po, .../fr-FR.po, .../nl-NL.po
Updated source reference line numbers; added new translation keys for "Recreate View" tooltip/modal in all locales.
Localization TS Files
echo/frontend/src/locales/en-US.ts, .../de-DE.ts, .../es-ES.ts, .../fr-FR.ts, .../nl-NL.ts
Replaced entire JSON message exports with refreshed but semantically identical content for all locales.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant ProjectLibraryRoute
    participant ViewExpandedCard

    User->>ProjectLibraryRoute: Visit Project Library
    ProjectLibraryRoute->>ProjectLibraryRoute: Check isLibraryEnabled
    alt isLibraryEnabled == true
        ProjectLibraryRoute->>User: Show "Create View" button
        ProjectLibraryRoute->>User: Show ProjectAnalysisRunStatus
        loop For each view
            ProjectLibraryRoute->>ViewExpandedCard: Render with isLibraryEnabled=true
            ViewExpandedCard->>User: Show refresh button with tooltip
        end
    else isLibraryEnabled == false
        ProjectLibraryRoute->>User: Hide "Create View" button and status
        loop For each view
            ProjectLibraryRoute->>ViewExpandedCard: Render with isLibraryEnabled=false
            ViewExpandedCard->>User: Hide refresh button
        end
    end
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~7 minutes

Assessment against linked issues

Objective Addressed Explanation
Disable "Create View" if views exist and flag is off (ECHO-373)
Portal editor and Summary twice (Potential) (ECHO-373) No changes related to portal editor or summary duplication observed; unclear if addressed.

Assessment against linked issues: Out-of-scope changes

Code Change Explanation
None found

Possibly related PRs

Suggested labels

improvement

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch disable-create-view-condition

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f9be0b1 and 6c735bf.

📒 Files selected for processing (12)
  • echo/frontend/src/components/view/View.tsx (3 hunks)
  • echo/frontend/src/locales/de-DE.po (27 hunks)
  • echo/frontend/src/locales/de-DE.ts (1 hunks)
  • echo/frontend/src/locales/en-US.po (27 hunks)
  • echo/frontend/src/locales/en-US.ts (1 hunks)
  • echo/frontend/src/locales/es-ES.po (27 hunks)
  • echo/frontend/src/locales/es-ES.ts (1 hunks)
  • echo/frontend/src/locales/fr-FR.po (27 hunks)
  • echo/frontend/src/locales/fr-FR.ts (1 hunks)
  • echo/frontend/src/locales/nl-NL.po (27 hunks)
  • echo/frontend/src/locales/nl-NL.ts (1 hunks)
  • echo/frontend/src/routes/project/library/ProjectLibrary.tsx (3 hunks)
🧰 Additional context used
🧠 Learnings (12)
📓 Common learnings
Learnt from: ussaama
PR: Dembrane/echo#224
File: echo/frontend/src/components/report/CreateReportForm.tsx:97-155
Timestamp: 2025-07-17T15:57:51.321Z
Learning: In echo/frontend/src/components/report/CreateReportForm.tsx, the conversation status section should only be displayed when there are pending conversations (conversationCounts.pending !== 0). When all conversations are processed, no status information should be shown to keep the UI minimal and clean.
Learnt from: ussaama
PR: Dembrane/echo#180
File: echo/frontend/src/locales/es-ES.ts:1-1
Timestamp: 2025-06-06T05:43:44.935Z
Learning: When users indicate they have already addressed translation issues in locale files, verify the current state before assuming the issue persists. Translation files are often updated in bulk and previously flagged English text may have been properly localized.
Learnt from: ussaama
PR: Dembrane/echo#205
File: echo/frontend/src/lib/query.ts:1444-1506
Timestamp: 2025-07-10T12:48:20.683Z
Learning: ussaama prefers string concatenation over template literals for simple cases where readability is clearer, even when linting tools suggest template literals. Human readability takes precedence over strict linting rules in straightforward concatenation scenarios.
echo/frontend/src/components/view/View.tsx (1)

Learnt from: ussaama
PR: #112
File: echo/frontend/src/components/conversation/ConversationAccordion.tsx:349-351
Timestamp: 2025-04-17T16:19:08.480Z
Learning: NavigationButton component in echo/frontend expects Tailwind class fragments (like "border-green-500") for its borderColor prop, not Mantine color tokens. This prop is used to construct a hover class using string interpolation (hover:${borderColor}).

echo/frontend/src/routes/project/library/ProjectLibrary.tsx (2)

Learnt from: ussaama
PR: #169
File: echo/frontend/src/components/project/ProjectPortalEditor.tsx:409-464
Timestamp: 2025-05-30T15:38:44.413Z
Learning: Badge-based selectors in ProjectPortalEditor.tsx: Keyboard navigation enhancements for accessibility are considered optional improvements rather than critical issues. The user acknowledges these suggestions but doesn't prioritize them as blockers.

Learnt from: ussaama
PR: #224
File: echo/frontend/src/components/report/CreateReportForm.tsx:97-155
Timestamp: 2025-07-17T15:57:51.321Z
Learning: In echo/frontend/src/components/report/CreateReportForm.tsx, the conversation status section should only be displayed when there are pending conversations (conversationCounts.pending !== 0). When all conversations are processed, no status information should be shown to keep the UI minimal and clean.

echo/frontend/src/locales/en-US.po (3)

Learnt from: ussaama
PR: #205
File: echo/frontend/src/locales/nl-NL.po:1246-1247
Timestamp: 2025-07-10T12:47:06.269Z
Learning: .po files (gettext internationalization files) are auto-generated by i18n tools like @lingui/cli and should not be manually edited. The format of component paths and line numbers in these files is determined by the tool configuration, not manually written. Do not suggest manual edits to .po files.

Learnt from: ussaama
PR: #180
File: echo/frontend/src/locales/es-ES.ts:1-1
Timestamp: 2025-06-06T05:43:44.935Z
Learning: When users indicate they have already addressed translation issues in locale files, verify the current state before assuming the issue persists. Translation files are often updated in bulk and previously flagged English text may have been properly localized.

Learnt from: ussaama
PR: #224
File: echo/frontend/src/components/report/CreateReportForm.tsx:97-155
Timestamp: 2025-07-17T15:57:51.321Z
Learning: In echo/frontend/src/components/report/CreateReportForm.tsx, the conversation status section should only be displayed when there are pending conversations (conversationCounts.pending !== 0). When all conversations are processed, no status information should be shown to keep the UI minimal and clean.

echo/frontend/src/locales/nl-NL.po (3)

Learnt from: ussaama
PR: #205
File: echo/frontend/src/locales/nl-NL.po:1246-1247
Timestamp: 2025-07-10T12:47:06.269Z
Learning: .po files (gettext internationalization files) are auto-generated by i18n tools like @lingui/cli and should not be manually edited. The format of component paths and line numbers in these files is determined by the tool configuration, not manually written. Do not suggest manual edits to .po files.

Learnt from: ussaama
PR: #180
File: echo/frontend/src/locales/es-ES.ts:1-1
Timestamp: 2025-06-06T05:43:44.935Z
Learning: When users indicate they have already addressed translation issues in locale files, verify the current state before assuming the issue persists. Translation files are often updated in bulk and previously flagged English text may have been properly localized.

Learnt from: ussaama
PR: #224
File: echo/frontend/src/components/report/CreateReportForm.tsx:97-155
Timestamp: 2025-07-17T15:57:51.321Z
Learning: In echo/frontend/src/components/report/CreateReportForm.tsx, the conversation status section should only be displayed when there are pending conversations (conversationCounts.pending !== 0). When all conversations are processed, no status information should be shown to keep the UI minimal and clean.

echo/frontend/src/locales/es-ES.ts (1)

Learnt from: ussaama
PR: #205
File: echo/frontend/src/locales/nl-NL.po:1246-1247
Timestamp: 2025-07-10T12:47:06.269Z
Learning: .po files (gettext internationalization files) are auto-generated by i18n tools like @lingui/cli and should not be manually edited. The format of component paths and line numbers in these files is determined by the tool configuration, not manually written. Do not suggest manual edits to .po files.

echo/frontend/src/locales/es-ES.po (2)

Learnt from: ussaama
PR: #205
File: echo/frontend/src/locales/nl-NL.po:1246-1247
Timestamp: 2025-07-10T12:47:06.269Z
Learning: .po files (gettext internationalization files) are auto-generated by i18n tools like @lingui/cli and should not be manually edited. The format of component paths and line numbers in these files is determined by the tool configuration, not manually written. Do not suggest manual edits to .po files.

Learnt from: ussaama
PR: #224
File: echo/frontend/src/components/report/CreateReportForm.tsx:97-155
Timestamp: 2025-07-17T15:57:51.321Z
Learning: In echo/frontend/src/components/report/CreateReportForm.tsx, the conversation status section should only be displayed when there are pending conversations (conversationCounts.pending !== 0). When all conversations are processed, no status information should be shown to keep the UI minimal and clean.

echo/frontend/src/locales/de-DE.po (3)

Learnt from: ussaama
PR: #205
File: echo/frontend/src/locales/nl-NL.po:1246-1247
Timestamp: 2025-07-10T12:47:06.269Z
Learning: .po files (gettext internationalization files) are auto-generated by i18n tools like @lingui/cli and should not be manually edited. The format of component paths and line numbers in these files is determined by the tool configuration, not manually written. Do not suggest manual edits to .po files.

Learnt from: ussaama
PR: #180
File: echo/frontend/src/locales/es-ES.ts:1-1
Timestamp: 2025-06-06T05:43:44.935Z
Learning: When users indicate they have already addressed translation issues in locale files, verify the current state before assuming the issue persists. Translation files are often updated in bulk and previously flagged English text may have been properly localized.

Learnt from: ussaama
PR: #224
File: echo/frontend/src/components/report/CreateReportForm.tsx:97-155
Timestamp: 2025-07-17T15:57:51.321Z
Learning: In echo/frontend/src/components/report/CreateReportForm.tsx, the conversation status section should only be displayed when there are pending conversations (conversationCounts.pending !== 0). When all conversations are processed, no status information should be shown to keep the UI minimal and clean.

echo/frontend/src/locales/fr-FR.po (3)

Learnt from: ussaama
PR: #205
File: echo/frontend/src/locales/nl-NL.po:1246-1247
Timestamp: 2025-07-10T12:47:06.269Z
Learning: .po files (gettext internationalization files) are auto-generated by i18n tools like @lingui/cli and should not be manually edited. The format of component paths and line numbers in these files is determined by the tool configuration, not manually written. Do not suggest manual edits to .po files.

Learnt from: ussaama
PR: #169
File: echo/frontend/src/locales/fr-FR.po:521-523
Timestamp: 2025-05-30T15:36:40.131Z
Learning: In the French localization file (fr-FR.po), "Dembrane Echo" is intentionally translated as "Echo Dembrane" for better French language flow and natural sound. This is not an error but a deliberate localization choice.

Learnt from: ussaama
PR: #224
File: echo/frontend/src/components/report/CreateReportForm.tsx:97-155
Timestamp: 2025-07-17T15:57:51.321Z
Learning: In echo/frontend/src/components/report/CreateReportForm.tsx, the conversation status section should only be displayed when there are pending conversations (conversationCounts.pending !== 0). When all conversations are processed, no status information should be shown to keep the UI minimal and clean.

echo/frontend/src/locales/de-DE.ts (2)

Learnt from: ussaama
PR: #205
File: echo/frontend/src/locales/nl-NL.po:1246-1247
Timestamp: 2025-07-10T12:47:06.269Z
Learning: .po files (gettext internationalization files) are auto-generated by i18n tools like @lingui/cli and should not be manually edited. The format of component paths and line numbers in these files is determined by the tool configuration, not manually written. Do not suggest manual edits to .po files.

Learnt from: ussaama
PR: #180
File: echo/frontend/src/locales/es-ES.ts:1-1
Timestamp: 2025-06-06T05:43:44.935Z
Learning: When users indicate they have already addressed translation issues in locale files, verify the current state before assuming the issue persists. Translation files are often updated in bulk and previously flagged English text may have been properly localized.

echo/frontend/src/locales/fr-FR.ts (2)

Learnt from: ussaama
PR: #169
File: echo/frontend/src/locales/fr-FR.po:521-523
Timestamp: 2025-05-30T15:36:40.131Z
Learning: In the French localization file (fr-FR.po), "Dembrane Echo" is intentionally translated as "Echo Dembrane" for better French language flow and natural sound. This is not an error but a deliberate localization choice.

Learnt from: ussaama
PR: #205
File: echo/frontend/src/locales/nl-NL.po:1246-1247
Timestamp: 2025-07-10T12:47:06.269Z
Learning: .po files (gettext internationalization files) are auto-generated by i18n tools like @lingui/cli and should not be manually edited. The format of component paths and line numbers in these files is determined by the tool configuration, not manually written. Do not suggest manual edits to .po files.

echo/frontend/src/locales/en-US.ts (3)

Learnt from: ussaama
PR: #180
File: echo/frontend/src/locales/es-ES.ts:1-1
Timestamp: 2025-06-06T05:43:44.935Z
Learning: When users indicate they have already addressed translation issues in locale files, verify the current state before assuming the issue persists. Translation files are often updated in bulk and previously flagged English text may have been properly localized.

Learnt from: ussaama
PR: #205
File: echo/frontend/src/locales/nl-NL.po:1246-1247
Timestamp: 2025-07-10T12:47:06.269Z
Learning: .po files (gettext internationalization files) are auto-generated by i18n tools like @lingui/cli and should not be manually edited. The format of component paths and line numbers in these files is determined by the tool configuration, not manually written. Do not suggest manual edits to .po files.

Learnt from: ussaama
PR: #224
File: echo/frontend/src/components/report/CreateReportForm.tsx:97-155
Timestamp: 2025-07-17T15:57:51.321Z
Learning: In echo/frontend/src/components/report/CreateReportForm.tsx, the conversation status section should only be displayed when there are pending conversations (conversationCounts.pending !== 0). When all conversations are processed, no status information should be shown to keep the UI minimal and clean.

🧬 Code Graph Analysis (2)
echo/frontend/src/locales/es-ES.ts (1)
echo/frontend/src/locales/en-US.ts (1)
  • messages (1-1)
echo/frontend/src/locales/fr-FR.ts (1)
echo/frontend/src/locales/en-US.ts (1)
  • messages (1-1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: ci-check-server
🔇 Additional comments (17)
echo/frontend/src/locales/en-US.ts (1)

1-1: LGTM – generated file, nothing to see
Full re-serialization only. New keys for view.recreate.* wired up and spelled correctly. No functional impact.

echo/frontend/src/locales/nl-NL.po (2)

1948-1955: LGTM! Clean Dutch translations for the new recreate view feature.

The translation "Bekijk opnieuw" accurately captures the "recreate view" concept in Dutch and is appropriately used for both the tooltip and modal title contexts. These additions perfectly align with the PR objectives to add tooltip functionality to the "Recreate view" feature.


64-64: LGTM! Standard i18n toolchain line number updates.

These line number reference updates in the .po file are automatically generated by the i18n extraction tools when source files are modified. This is expected behavior and maintains accurate source code references for translation management.

Also applies to: 336-336, 377-379, 619-619, 648-648, 682-682, 696-696, 1122-1122, 1397-1397, 1454-1461, 1489-1489, 1522-1522, 1607-1607, 1612-1612, 1844-1844, 1974-1974, 2055-2055, 2124-2124, 2239-2240, 2255-2255, 2312-2312, 2498-2498, 2783-2783

echo/frontend/src/locales/fr-FR.po (1)

1746-1752: LGTM! Clean localization additions.

The new French translations for the recreate view feature are properly localized and follow the existing patterns. The auto-generated line number updates are expected when source code changes.

echo/frontend/src/components/view/View.tsx (3)

12-12: LGTM! Clean import addition.

Added Tooltip to the Mantine imports - proper organization keeping it alphabetical.


44-44: LGTM! Solid prop typing.

Clean addition of the isLibraryEnabled boolean prop to the component signature. TypeScript typing is on point.


74-80: LGTM! Clean conditional rendering with solid UX.

The conditional rendering implementation is chef's kiss - proper React patterns with the && operator. The Tooltip wrapping the ActionIcon provides excellent UX, and the translation keys match what was added to the localization files. The feature flag implementation is exactly what the requirements called for.

echo/frontend/src/locales/es-ES.po (2)

745-748: New translation entry looks solid, bro! 🚀

The Spanish translation "Recrear vista" for view.recreate.tooltip is spot-on and maintains consistency with the existing translation patterns in the file. LGTM!


64-64: Line number updates are totally expected, ship it! 💯

These source reference updates are the natural result of the i18n tooling doing its thing when the source files change. The tool automatically updates the line references to keep translations in sync with their source locations.

Also applies to: 312-313, 546-546, 575-575, 601-601, 615-615, 750-752

echo/frontend/src/locales/es-ES.ts (1)

1-1: view.recreate.tooltip translation present – LGTM

The new key/value pair ("view.recreate.tooltip": ["Recrear vista"]) is correctly included and matches the established auto-generated format. No further action needed.

echo/frontend/src/locales/fr-FR.ts (1)

1-1: LGTM! Clean localization refresh with proper French translations.

This coordinated refresh of the French locale messages looks solid. The new translation keys for the "Recreate View" feature (view.recreate.tooltip and view.recreate.modal.title both properly translated as "Recréer la vue") are appropriately localized. The file structure maintains the expected TypeScript typing and JSON.parse() pattern consistent with other locale files. All existing translations appear preserved in this refresh.

Ship it! 🚢

echo/frontend/src/locales/en-US.po (1)

64-66: LGTM – Auto-generated translation refs look solid

Updated source refs and the new view.recreate.* keys align with the UI tweaks. Nothing to tweak here. Ship it.

Also applies to: 324-329, 1803-1811

echo/frontend/src/routes/project/library/ProjectLibrary.tsx (3)

207-207: LGTM! Clean conditional rendering.

Solid gate-keeping on the ProjectAnalysisRunStatus component. Only showing it when the library is actually enabled makes perfect sense from a UX perspective.


275-288: LGTM! Proper feature flagging implementation.

Clean conditional rendering of the "Create View" button based on the library flag. The disabled state logic for the button also looks solid - only allowing creation when there's an actual latest run available. This aligns perfectly with the PR objectives to disable UI components when the flag is off.


313-313: LGTM! Proper prop threading.

Good prop drilling of the isLibraryEnabled flag down to the ViewExpandedCard components. This enables the child components to make their own conditional rendering decisions based on the library state, which is exactly what the PR summary indicates is happening with the refresh button in the View component.

echo/frontend/src/locales/de-DE.po (1)

1741-1748: LGTM – new view.recreate.* keys correctly added

Both the tooltip (view.recreate.tooltip) and modal title (view.recreate.modal.title) entries are present with accurate German translations. Nothing else to flag.

echo/frontend/src/locales/de-DE.ts (1)

1-1: LGTM! Proper localization update for the new "Recreate View" feature.

The German translations have been updated to support the new UI functionality. The JSON contains proper German localizations including the new keys for view.recreate.tooltip ("Ansicht neu erstellen") and view.recreate.modal.title ("Ansicht neu erstellen") that align with the ECHO-373 objectives. The compressed format is standard for auto-generated locale files.

@ussaama ussaama requested a review from spashii July 29, 2025 07:54
@ussaama ussaama added this pull request to the merge queue Jul 29, 2025
Merged via the queue into main with commit 42c1d41 Jul 29, 2025
12 checks passed
@ussaama ussaama deleted the disable-create-view-condition branch July 29, 2025 07:55
spashii pushed a commit that referenced this pull request Nov 18, 2025
… and flag is off (#249)

- Disable "Create View" and relevant components if views exist and flag
is off
- add tooltip to "Recreate view"
- add translations for "Recreate view"

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* The "Recreate View" refresh button is now only visible when the
library feature is enabled, and includes a tooltip for improved
usability.

* **Localization**
* Added and updated translation entries for the new "Recreate View"
tooltip and modal title in all supported languages.
* Updated translation files to align with current source code
references; no changes to existing translations.

* **Refactor**
* Certain UI elements in the project library are now conditionally
displayed based on whether the library feature is enabled.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants