Skip to content

Conversation

@alainm23
Copy link
Member

Fixed #276

  • The history view was redesigned using Adw.OverlaySplitView.
  • The history button was moved to the left, matching the sidebar it opens.
  • The option to copy expressions was removed.

image

@alainm23 alainm23 requested a review from a team February 11, 2025 11:25
@@ -0,0 +1,122 @@
/*-
* Copyright 2018-2021 elementary, Inc. (https://elementary.io)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copyright 2018 - 2025

history_list.remove_all ();
});

var headerbar = new Adw.HeaderBar () {
Copy link
Collaborator

@jeremypw jeremypw Feb 11, 2025

Choose a reason for hiding this comment

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

I think maybe we should hide the close button in this header. I thought it would close the history but in fact it unexpectedly closed the whole window. Should replace with a "close sidebar" button? On the other hand other apps do have the close button inside the sidebar but there the sidebar is not a temporary overlay so I am not sure what to do. @danirabbit please advise. Another solution would be to have the sidebar on the right.

Copy link
Collaborator

@jeremypw jeremypw left a comment

Choose a reason for hiding this comment

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

A couple of in-line comments.

Also, the history seems to be held in two separate models - one in MainWindow and one in HistorySidebar. Is this necessary?

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.

Make the history more compact and inside the app

4 participants