fix: logo and some improvements#2397
Conversation
Greptile SummaryThis PR replaces the animated
Confidence Score: 5/5Safe to merge — all changes are isolated UI and utility improvements with no impact on data handling or critical paths. The logo swap is a straightforward asset-inlining change, the keyword extraction refactor is well-tested and handles edge cases correctly, and the dialog style tweaks are cosmetic. The only thing worth a second look is that src/dialogs/style.scss loses its trailing newline while other files in the same PR gain theirs. src/dialogs/style.scss — missing newline at end of file. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["getLanguageModeRecommendationSearchKeyword(filename)"] --> B["basename = Path.basename(filename).trim().toLowerCase()"]
B --> C["ext = Path.extname(basename).replace(/^\./, '').trim().toLowerCase()"]
C --> D{ext is non-empty?}
D -- Yes --> E["keyword = ext\n(e.g. 'js', 'py')"]
D -- No --> F{basename starts with '.'?}
F -- Yes --> G["keyword = basename.slice(1)\n(e.g. '.gitignore' → 'gitignore')"]
F -- No --> H["keyword = ''\n(e.g. 'README' → '')"]
E --> I{regex test passes?}
G --> I
H --> I
I -- Yes --> J["return keyword"]
I -- No --> K["return ''"]
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A["getLanguageModeRecommendationSearchKeyword(filename)"] --> B["basename = Path.basename(filename).trim().toLowerCase()"]
B --> C["ext = Path.extname(basename).replace(/^\./, '').trim().toLowerCase()"]
C --> D{ext is non-empty?}
D -- Yes --> E["keyword = ext\n(e.g. 'js', 'py')"]
D -- No --> F{basename starts with '.'?}
F -- Yes --> G["keyword = basename.slice(1)\n(e.g. '.gitignore' → 'gitignore')"]
F -- No --> H["keyword = ''\n(e.g. 'README' → '')"]
E --> I{regex test passes?}
G --> I
H --> I
I -- Yes --> J["return keyword"]
I -- No --> K["return ''"]
Reviews (1): Last reviewed commit: "fix: logo and some improvements" | Re-trigger Greptile |
No description provided.