mirror of
https://github.com/SillyTavern/SillyTavern-Timelines.git
synced 2026-10-15 18:12:00 +00:00
[PR #18] [MERGED] UX improvements, some refactoring #26
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Timelines#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SillyTavern/SillyTavern-Timelines/pull/18
Author: @Technologicat
Created: 1/29/2024
Status: ✅ Merged
Merged: 2/2/2024
Merged by: @Cohee1207
Base:
master← Head:ux-improvements📝 Commits (10+)
6c54b2bUX improvements, some refactoringe472cbdpreliminary README update466e6e3toast the auto-picked sessiona32c226toast only when multiple matches4a9e084Ehm, once more. Show file name, consistent with Manage chat files.fdeced3preliminary README update vol. 2a4c7475remove unused codee53ad73refreshLayout no longer requires parameters91a993dclean up graph node metadata slightlyaafbcbaremove unused import📊 Changes
8 files changed (+1097 additions, -648 deletions)
View changed files
📝
README.md(+78 -19)📝
index.js(+512 -298)📝
timeline.html(+58 -27)📝
tl_graph.js(+30 -6)📝
tl_node_data.js(+121 -24)📝
tl_style.css(+103 -134)📝
tl_style.js(+44 -20)📝
tl_utils.js(+151 -120)📄 Description
Here's the UX overhaul PR for Timelines.
Changelog:
navigateToMessage:branchis true, always create a new branch (as we did before)branchis false, attempt to avoid creating a branch (no more branch proliferation - previously, navigating to a swipe always created a branch)Auto-expand Swipe Nodesto start in "expand swipes" mode when the timeline view first opens (or whenever the graph is refreshed).Fixed TooltipbyFixed Position for Full Info Panel, and add a separateFixed Position for Tooltip.Lock Nodes. It did nothing, because nodes were always locked after running the layout, regardless of the value of this setting. The graph changes often enough (besides being large and never saved) that manual editing of node positions is not useful.Escto close timeline view (like many other panels in ST)Ctrl+Shift+Fto focus the search text entry (a bare Ctrl+F would also open the browser's "find in page" bar)debug/info/warning/errorlevels explicitly, not the genericlog.navigateToMessage: If this goes wrong, it could be pretty hard to debug, so add enough log messages to figure out what it did and why.Left for later, NOT done now:
Tabto jump between chat branches matching a search.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.