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

Map view visual redesign #3017

Merged
merged 30 commits into from
Jan 22, 2024
Merged

Map view visual redesign #3017

merged 30 commits into from
Jan 22, 2024

Conversation

tomasMizera
Copy link
Collaborator

Updated map view to the new design:

  • toolbars (recording, splitting)
  • stakeout
  • banners
  • map buttons
Some screenshots
Screenshot 2024-01-19 at 09 08 17 Screenshot 2024-01-19 at 09 09 30
Screenshot 2024-01-19 at 09 09 35 Screenshot 2024-01-19 at 09 10 35

Highlight will be added in another PR
Best to go over commits one by one :)

Copy link
Contributor

@PeterPetrik PeterPetrik left a comment

Choose a reason for hiding this comment

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

looks good

app/appsettings.h Show resolved Hide resolved
app/icons/icons.qrc Outdated Show resolved Hide resolved
app/inputhelp.cpp Show resolved Hide resolved
Q_INVOKABLE void add( const QString &message, uint interval, NotificationType::MessageType type, NotificationType::IconType icon );

//! Convinient methods to save typing of some parameters
Q_INVOKABLE void addSuccess( const QString &message );
Copy link
Contributor

Choose a reason for hiding this comment

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

at least I would add expiration time here with default NotificationModel::DEFAULT_NOTIFICATION_EXPIRATION_SECS

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I prefer not going down that path, we can instead define additional methods also with expiration. QML/JS engine does not work well with C++'s default arguments or method overloads.

app/notificationmodel.h Outdated Show resolved Hide resolved
@@ -262,7 +262,7 @@ Item {
},
State {
name: "notAtTarget"
when: state != "atTarget"
when: state !== "atTarget"
Copy link
Contributor

Choose a reason for hiding this comment

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

so this was a bug?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

app/qml/components/MMToolbarButton.qml Outdated Show resolved Hide resolved
app/qml/components/MapFloatButton.qml Outdated Show resolved Hide resolved
app/qml/map/Crosshair.qml Outdated Show resolved Hide resolved
gallery/helper.cpp Show resolved Hide resolved
@PeterPetrik PeterPetrik merged commit 393e9ac into master Jan 22, 2024
10 of 11 checks passed
@PeterPetrik PeterPetrik deleted the map-view-visual-redesign branch January 22, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants