Skip to content

[gpaste-reloaded@feuerfuchs.eu] Add option to reverse history order (newest at bottom)#8357

Open
hthienloc wants to merge 1 commit intolinuxmint:masterfrom
hthienloc:feature/reverse-history-order
Open

[gpaste-reloaded@feuerfuchs.eu] Add option to reverse history order (newest at bottom)#8357
hthienloc wants to merge 1 commit intolinuxmint:masterfrom
hthienloc:feature/reverse-history-order

Conversation

@hthienloc
Copy link
Contributor

What’s changed

  • added a new checkbox setting “Reverse history order (newest at bottom)” in settings‑schema.json
  • bound setting in applet.js and implemented logic to flip the order of displayed entries during normal browsing and when searching
  • introduced helper _onSettingsUpdated() to reload the menu on setting changes minor refactoring of applet.js for readability and a couple of style improvements

Why

Requested in #8042.

@hthienloc hthienloc force-pushed the feature/reverse-history-order branch 4 times, most recently from d8a48ee to be6e141 Compare February 21, 2026 12:46
@fredcw
Copy link
Contributor

fredcw commented Feb 23, 2026

You don't need comments that say what you've changed e.g. // refresh will handle highlighting and ordering

You've swapped spaces for tabs in settings-schema.json

@hthienloc hthienloc force-pushed the feature/reverse-history-order branch 2 times, most recently from 7046a29 to 00943d5 Compare February 24, 2026 00:12
@hthienloc hthienloc force-pushed the feature/reverse-history-order branch from 00943d5 to df9b2d2 Compare February 24, 2026 00:15
@hthienloc
Copy link
Contributor Author

@fredcw Can you check again?

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.

2 participants