Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: TitleBar #1032

Merged
merged 7 commits into from
Jan 17, 2025
Merged

refactor: TitleBar #1032

merged 7 commits into from
Jan 17, 2025

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Jan 16, 2025

☑️ Resolves

  • Preparation for initialization refactoring, to fix @nextcloud/vue upgrade regression

A huge change, but no logic changed.

Separated into small commits - review by commits.

🚧 Tasks

1. Rename DesktopHeader to TitleBar

It was called header because it represented Nextcloud web-page's #header in the beginning.

But in the app, it represents desktop app's title bar.

2. Move files to a new module folder

To keep coupled modules in one place.

3. Migrate UserStatus to TS

Helped with the next step.

Also fix some typing issues, texts, and formatting.

4. Migrate TitleBar to TS

Ts.

5. Migrate to useHotKey

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme ShGKme added 3. to review technical debt Maintenance and refactoring labels Jan 16, 2025
@ShGKme ShGKme self-assigned this Jan 16, 2025
@ShGKme
Copy link
Contributor Author

ShGKme commented Jan 16, 2025

If you want to test - add data-user="{YOU USERID}" on <head> in talk.html.

@ShGKme ShGKme marked this pull request as ready for review January 16, 2025 18:00
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

If you want to test

Tested. Looks clean!

Never have seen as const though 👀

@ShGKme ShGKme merged commit 2490aba into main Jan 17, 2025
11 checks passed
@ShGKme ShGKme deleted the refactor/title-bar branch January 17, 2025 19:29
@ShGKme ShGKme added this to the 🌠 Next Patch milestone Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review technical debt Maintenance and refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants