Commit graph

50 commits

Author SHA1 Message Date
Mossy426
ac61cbba33 Enhance Smart Connections Visualizer loading and opening logic
- Refactor onload method to include error handling during settings loading
- Improve openSmartConnectionsVisualizer method with detailed logging and error handling
- Ensure proper creation of workspace leaf when opening the visualizer
- Add hover link source registration for better user experience
2026-01-06 13:05:45 -05:00
Evan's Oasis
7583b92693
Merge pull request #23 from sheadawson/add-command-palette-support
Add command palette support for opening Smart Connections Visualizer
2026-01-06 12:31:51 -05:00
Maestro
4b1cd0ddcc Fix compatibility with latest obsidian-smart-connections
Co-authored-by: Fernando Arconada <farconada@users.noreply.github.com>
2026-01-02 16:09:45 +00:00
Shea
02d2f45612 Add command palette support for opening Smart Connections Visualizer
- Extract visualizer opening logic into reusable openSmartConnectionsVisualizer() method
- Add command palette entry for opening the visualizer
- Update ribbon icon to use shared method
- Allows users to open visualizer via command palette when ribbon is hidden

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 13:10:55 +13:00
Brian Joseph Petro
2f4936e488 refactor_window_interface_and_update_smart_notes_access 2025-05-30 11:12:13 -04:00
Mossy1022
a81cdec5e7 added ts ignore 2025-02-03 11:12:06 -05:00
Brian Joseph Petro
54ba69d6e2 open on right side 2025-02-03 10:57:10 -05:00
Mossy1022
9fc4aaa8b1 added ts ignore for smart env 2025-02-03 10:26:29 -05:00
Brian Joseph Petro
c6775888d4 Update environment variable access and add .gitignore 2025-02-03 10:21:49 -05:00
Mossy1022
408a80fb06 Update to collections loaded instead of entities loaded 2025-01-23 15:00:47 -05:00
Mossy1022
1c63631e87 Fix for handling async find connections update from smart connections 2025-01-03 19:31:18 -05:00
Mossy1022
527725ee99 Updated new connection access from Smart Connections to resolve no nodes bug 2024-10-23 13:09:57 -04:00
Mossy1022
084891cee1 Fix for no nodes bug + only allowed one view at a time 2024-09-11 10:17:20 -04:00
Aaron Verones
eb40eff2d0
fix: Nodes are undefined when connection.data.key doesn't exist 2024-09-02 09:05:08 -04:00
Mossy426
52c9fbc297 Update to use connection.key 2024-08-30 12:39:41 -04:00
Mossy426
f0234c5e3a Updated smart object filtering based on SC updates to smart objects 2024-08-27 11:30:45 -04:00
Mossy426
028d447881 Update to have labels and links to go with themes 2024-08-26 19:48:10 -04:00
Mossy426
ab992acf75 Update to new SC compatibility 2024-08-21 09:54:19 -04:00
Mossy426
a72d78b9d9 Update to not have check while view not in view 2024-08-09 11:25:50 -04:00
Mossy426
8b946408e5 Update to ensure view is open before sending notices
:q
2024-08-09 11:23:34 -04:00
Mossy426
332dd323f1 Renamed all Ids and classes to have Smart Visualizer prefixe + Made viz updates smoother by stopping force simulation after 1s to remove possible endless force loop + cleanup 2024-06-30 00:27:13 -04:00
Mossy1022
9b7cb69cfa Updates dropdown menu to scope and not conflict with excalidraw 2024-06-23 02:46:41 -04:00
Mossy426
378f9b7f90 Updates:
- Added foundation for color legend + coloring nodes
- Updated nodes to have their own fill property
- Removed change background color of global style
2024-06-18 12:47:26 -04:00
Mossy426
f7ffa1085e Updates:
- Reset button saves settings after reset
- Fixed reset label caps change
- Fixed bug when viz doesn't render properly when only a single connection appears
2024-06-17 19:20:03 -04:00
Mossy426
22122ccb2b Update to display last active file on open of view 2024-06-16 11:32:57 -04:00
Mossy426
5e12491dc3 Patches:
- Updated Plugin Settings to Save and Load
- Added notice when filter threshold is too high to display nodes
- Added plugin variable to view to get settings
- Improved extraction to show better labels and block numbers
- Added both option for filter between note and block
- Ensured connection type is properly assigned to node
2024-06-16 02:00:48 -04:00
Mossy426
acbdc6c42a Merge branch 'main' of https://github.com/Mossy1022/Smart-Connections-Visualizer 2024-06-14 12:39:59 -04:00
Mossy426
a2818afafa Update main 2024-06-14 12:39:32 -04:00
Mossy426
f6120c6403 Updated to 1.0.6 2024-06-14 12:38:00 -04:00
WFH Brian
3fc78c390d silence is golden 2024-06-13 13:50:28 -04:00
Mossy426
35744afb37 removed settings variable 2024-06-12 08:49:11 -04:00
Mossy426
b270996a4a Removed Settings 2024-06-12 08:45:11 -04:00
Mossy426
7733eba240 updated link label display 2024-06-09 09:05:16 -04:00
Mossy1022
269d352426 Implemented Review Requests for Obsidian Plugin
- Added debounce
- Removed interface for default settings
- Use sentence case
- Updated funding url
- Updated manifest description
- Updated view type to not have spaces
- Removed Sample Code
2024-06-06 15:05:10 -04:00
Mossy1022
2733358519 Post-Refactor Fixes + UI Polish
- Update intial values (threhsold + nodesize)
- Added filtering + new note changing states
- Keeping track of highlighted node id
- Fixed node label display + position on hover + drag
- Removed label down animation temporarily
- Updated the label formating to cut out folders for dispalying central node
- Updated smartEng to env
- Updated avoid collision to work post refactor with node labels
- Commented out multiselect temporarily
- Updated UI Icons to match graph view
- Updated labels to default upon refresh click
- Ensure visualization is empty when nodesdata is empty
- Commented out tooltips until we bring them back
2024-06-06 02:26:09 -04:00
Mossy1022
b555ff7e11 Updated review changes given by obsidian bot:
- cleaned up console logs
- removed use of inner and outer html
- removed main.js and added to gitignore
- removed assigning stlying directly through js
- removed sample plugin code
2024-06-04 10:13:44 -04:00
Mossy1022
a7f105e893 Updates:
- Fixed settings icon dissapearing when view launched and then rendered
- Fixed view not working when opening from ribbon by calling render, instead of update visualzition when new file opened
- Set updating visualizaiton to false when any of the conditional returns trigger
- Changed "Graph" to "Visualizer"
- Updated readme with the latest
2024-06-02 18:40:43 -04:00
Mossy1022
4421ede075 Major Refactor + Cleanup For Plugin Submission
Removed Selection state until we can do something with it
Added dragging check to not change label trim if mouseexit triggered during
Removed Center Force since not needed for viz with one cluster
2024-06-02 17:34:48 -04:00
Brian Petro
05398939be wait for it 2024-05-31 12:05:53 -04:00
Mossy1022
aa82b713e8 Merge branch 'main' of https://github.com/brianpetro/Smart-Connections-Graph-View into brianpetro-main 2024-05-31 02:11:15 -04:00
Mossy1022
a428fa040d Feature Updates
- Added node label size, link label size, and max label character sliders under display
- Enhanced selection state look
- Fixed some selection vs normal vs highlight states
- Added link labels on hover of nodes instead of tooltip
- Cleaned up forces not needed
- Commented out tooltip for now
- Updated from Significance "Relevance"
- Remove unused CSS rules for .node
- Update font-famil to cascadia for .label, .link-label, and .dropdown-menu
- Increased width of .dropdown-menu to 300px
2024-05-31 01:43:16 -04:00
mossy426
48605b189a feat: Implement selection state and multiselect functionality
The code changes include the implementation of selection state on click, adding highlighted and selected properties to nodes, and implementing multiselect selection box functionality by holding down control and dragging down and to the right.
Can multi-drag -  dragging a single selected node will drag all the selected
2024-05-30 12:49:19 -04:00
WFH Brian
f4ae545b3b up build process and names 2024-05-30 10:29:30 -04:00
WFH Brian
fd926dbbfe comment out unused boilerplate 2024-05-30 09:45:41 -04:00
WFH Brian
eaf079b824 add back seemingly necessary event listener 2024-05-30 09:43:24 -04:00
WFH Brian
5fed2298ba remove extraneous click event 2024-05-30 09:34:32 -04:00
mossy426
8bdf7c5290 Selection Implementation
- Implemented selection state on click
- Added highlighted and selected properties to nodes
- Implemented multiselect selection box via holding down control + holding click and dragging down + to the right
-TODO allow selection box to work dragging from other directions
2024-05-30 04:17:51 -04:00
mossy426
e47f1eddfc Added Note/Block Filter in Settings
Changed score to significance
Some Refactoring
Added better logging for central note and find connections
2024-05-30 01:18:02 -04:00
mossy426
75a5be2fb5 - Moved styles to css file
- Implemented min max slider for link width based on score or "significance"
- Added Tooltip for showing distance on link hover
- Added a set timout before anything to wait for smart connections to do its thing
- Changed plugin ribbon to Smart Graph
- Cleanup + Comments
2024-05-29 19:57:01 -04:00
Mossy1022
ed12927577
Initial Commit 2024-05-29 11:58:31 -04:00