Age | Commit message (Collapse) | Author |
|
On iPad, activity views are popovers and require information about the source. The UI doesn't provide this, though, so just use the long-press tap position for now.
|
|
A convenient way to copy the current page's source and open the Titan upload dialog with it prefilled.
IssueID #415
|
|
Image responses get inlined on gemtext pages.
It would make sense to use this mechanism for all media since the MIME type is ultimately what matters in determining the appropriate presentation. The file extensions shouldn't matter.
IssueID #373
|
|
The banner would sometimes appear only after the page had finished loading, because the site icon got lost when the GmDocument was switched.
|
|
|
|
The inline downloads UI finally has some interactivity: left-clicking on a finished download opens it in the default viewer app, and right-clicking shows a context menu with relevant actions.
|
|
After receiving content of unsupported type, show a footer action button to open it in another app.
IssueID #135
|
|
Send a notification from the Java side when the software keyboard
is shown.
|
|
|
|
|
|
|
|
|
|
Resource paths, runtime data, ignore mouse events. Assume that
the Java side tells us the display pixel density via a command
line argument.
|
|
|
|
The "opened from sidebar" flag is unnecessary now.
|
|
|
|
Work in progress, but now DocumentView at least has its own type. The relationship is a bit muddled, though.
|
|
|
|
|
|
|
|
Put a new GmRun under an inlined image with the image metadata, so it doesn't overlap the caption text.
Open URLs are now indicated with a document-width box instead of window-width box. The box is also slightly expanded for a nicer look. Links have a bit of padding around them so this doesn't cause overlaps with other runs.
|
|
Metadata of inlined images shouldn't overlap the caption text.
Open URL highlights are not drawn fullwidth to avoid clashing with side elements and generally to look more consistent.
|
|
|
|
|
|
|
|
Most crucially, sometimes the swipe placeholders would not get deleted at all because the visual offset animation was not finishing as expected. This would cause a number of problems with the document behavior.
|
|
|
|
Work in progress. Something breaks down when swiping forward twice...
|
|
|
|
Added a special actions menu in the input prompt to allow the user to paste the line preceding the latest clicked link from the originating document.
One use case for this is user-editable lines.
|
|
|
|
|
|
|
|
When restoring a page from history, ensure the cached document is stored in the memory cache. Previously this only occurred when a page load finished.
|
|
If there were multiple instances of the same URL in history, only the latest one's content would be used when navigating back/forward.
|
|
Mobile panels should always be root-parented, but the source document relationship is currently not communicated in any other way.
|
|
|
|
|
|
|
|
Document swipe animations are now almost fully working, except for an aborted forward navigation (swipe from right edge).
|
|
TODO: If the swipe is aborted, the state ends up wrong.
|
|
Manage a color palette separately for each GmDocument, and activate one of them globally whenever a document is being drawn.
Palettes are cached in memory.
|
|
TODO: There should be a better method for copying the full state of the DocumentWidget to another one.
|
|
With the white theme(s), the footer buttons were not prominent enough.
|
|
|
|
|
|
Various issues with safe areas and font sizes.
|
|
The toolbar should only be accounted for in portrait orientation. Footer buttons no longer have a padding for the toolbar.
|
|
|
|
Switched the phone sidebar to use the iOS half/full-height sliding sheet design. This is better for finger reachability and for retaining access to the current page.
|