summaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2021-05-19Widget: Fixed arrangement bugJaakko Keränen
Whenever a widget is resized, we may need to rearrange its children. The up-to-date sizes must be used for determining positions for other children.
2021-05-19CleanupJaakko Keränen
2021-05-19Mobile: InputWidget Return key vs. maxLenJaakko Keränen
Only unlimited-length input should allow line breaks with the Return key.
2021-05-18Mobile: No view split on phone; layout fixesJaakko Keränen
2021-05-18Mobile: Tablet tweaksJaakko Keränen
Heights of InputWidget vs. LabelWidget. The default sizes should be equal, e.g., so the navbar elements align properly. Don't set the input focus automatically when opening a dialog, since the keyboard may cover much of the UI.
2021-05-18App: Attempt to fix app restore issueJaakko Keränen
Cached content like font glyphs are (were?) not being restored when returning to foreground.
2021-05-18DocumentWidget: Run drawing vs. backgroundsJaakko Keränen
Erasing the background of every run should no longer be necessary (with progressive rendering), unless the run can change appearance.
2021-05-18LabelWidget: Respect `noAutoMinHeight`Jaakko Keränen
2021-05-18Root: Updating size of navbar buttons/indicatorsJaakko Keränen
Not all UI elements were appropriate sized when switching between normal and tight layout.
2021-05-18SidebarWidget: Don't animate at launchJaakko Keränen
2021-05-18App: Fixed init of UI palette on first runJaakko Keränen
IssueID #275
2021-05-17Mobile: Tablet layout improvementsJaakko Keränen
2021-05-17Touch: Fixes for split view event dispatchJaakko Keränen
2021-05-17SidebarWidget: Animate show/hideJaakko Keränen
Also addressed clipping issues when using multiple roots.
2021-05-17Mobile: Preferences on tablet devicesJaakko Keränen
Use the mobile layout on tablets as well.
2021-05-17Mobile: Landscape Preferences layoutJaakko Keränen
2021-05-17SidebarWidget: Icon alignmentJaakko Keränen
2021-05-17Mobile: Return key insert newline by defaultJaakko Keränen
To avoid accidentally submitting queries, use the software keyboard Return key for inserting newlines.
2021-05-17Mobile: Swipe improvementsJaakko Keränen
Edge swipe direction is determined in a more dynamic way.
2021-05-17Mobile: Landscape/portrait Preferences layoutJaakko Keränen
2021-05-16Widget: Fixed arrangement resettingJaakko Keränen
The expand flag should be reset only in the context of the parent's arrangement/resize direction.
2021-05-16Cleanup: Moved mobile UI code to its own fileJaakko Keränen
The mobile UI related code has grown large enough to warrant a separate file. Also, work-in-progress redo of the Preferences layout so it can be used with landscape as well.
2021-05-16Changed UI icons related to bookmarksJaakko Keränen
Use the Book and Bookmark characters.
2021-05-16Widget: Fade opacity based on area covering rootJaakko Keränen
2021-05-15Widget: Rearranging expanding widgetsJaakko Keränen
When starting a new arrangement, expanding widgets must be reset so they won't affect the outcome.
2021-05-15Mobile: Various improvements and fixesJaakko Keränen
- fill the safe area with theme background - don't set button hover states if dragging/scrolling - edge-draggable widgets must be flagged as such - Preferences top panel offset matches sibling panels' offset - allow toolbar to unhide when document is not scrollable
2021-05-14InputWidget: Touch tweaksJaakko Keränen
2021-05-14Mobile and iOS: Various fixes and cleanupJaakko Keränen
Several regressions occurred when the split view mode was implemented.
2021-05-14Translation: Minimum width for dialogJaakko Keränen
2021-05-14Window: Fixed crash at shutdownJaakko Keränen
2021-05-14Widget: Prevent overflow scrolling if not tallJaakko Keränen
2021-05-14Show "Line break" help text in input dialogJaakko Keränen
2021-05-14Widget: Fixed layout issueJaakko Keränen
Reset sequential arrangements so the previous child bounds don't affect a newly calculated arrangement.
2021-05-14InputWidget: Rewrap when width changesJaakko Keränen
2021-05-14Text: Fixed handling of newlinesJaakko Keränen
In the `tryAdvance*` methods, don't advance past newlines since this is intended to be a line-based operation.
2021-05-14DocumentWidget: Keep scroll position for special responsesJaakko Keränen
For example, receiving an input prompt response shouldn't change the current scroll position in the open document.
2021-05-14InputWidget: Fixed cursor moving; scroll the dialogJaakko Keränen
Up/down movement sometimes ended up in the wrong cursor position. Now the nearest overflow-scrollable parent scrolls to keep the cursor visible.
2021-05-13InputWidget: Drawing hint and buffered textJaakko Keränen
Improved TextBuf to handle word/bound-wrapped content.
2021-05-13SidebarWidget: No actions in empty IdentitiesJaakko Keränen
2021-05-13Lang: Added Polish UI translationJaakko Keränen
IssueID #192
2021-05-13SidebarWidget: Never disable for context menuJaakko Keränen
Sidebars were disabled so the hover item wouldn't change while accessing a context menu, but that's no longer necessary because the context item is tracked separately.
2021-05-13Widget: Remove timed commands when destroyedJaakko Keränen
2021-05-12Keep labels aligned with expanding inputsJaakko Keränen
A widget may copy its height from another widget.
2021-05-12InputWidget: Shift-click to select a rangeJaakko Keränen
2021-05-12DocumentWidget: Input query length validationJaakko Keränen
Enforce the maximum length of 1024 bytes for Gemini URLs. The input query prompt shows how many bytes are remaining.
2021-05-12CleanupJaakko Keränen
Use the Return key symbol consistently, also in the Search Query indicator. The input dialog "Send" label now no longer needs the "⇒" icon.
2021-05-12InputWidget: Expanding while editingJaakko Keränen
The navbar layout cannot accommodate more than one line of text, but allow the editor to expand while writing text.
2021-05-12DocumentWidget: Clean up drawingJaakko Keränen
Children drawn were twice?
2021-05-11InputWidget: Word wrapping, inserting newlinesJaakko Keränen
2021-05-09Window: Workaround for lack of window expose eventJaakko Keränen
IssueID #264