Skip to content

Commit

Permalink
Big refactor (#20)
Browse files Browse the repository at this point in the history
* Add patching of vim.cmd so we can use it in tests
* Work around orgmode loading file failing and resolving false instead of an error
* Fix missing reject call in database loader's load_file;
* Implement variety of utility methods in `spec.utils`
* Update ui.select-node to take an optional cancel callback
* Fix reference to cursor not using window
* Refactor core.ui.select to fix filtered_items type
* Add on_ready callback to core.ui.select
* Add filtered_choices(), add choose(), add cancel() to core.ui.select
* Update origin api to return promises
* Add more handlers for origin api resolution
* Refactor plugin to be instance instead of global for everything (events, database, api, etc)
* Update developer docs
* Implement tests across entire suite of plugin
* Add RoamDatabaseReset command
* Refactor NodeView api into NodeBuffer api, change window -> buffer for node buffer
* Update core.ui.buffer to only render when buffer is valid
* Update get_buffer_cache from utils to check if buffer valid
* Rename roam.evt to roam.events
* Update setup to persist database in a blocking fashion when exiting neovim
* Add a set_visual_range method to roam.utils
* Fix some loader quirks
* Expose internal() and internal_sync() on database
* Update core.ui.select highlight colors to not have invalid characters
* Switch default serialization of database to JSON
* Update references to math.huge to use 2^31 instead (was causing serialization issues)
* Update all tests using `vim.wait` to leverage configurable setting
  • Loading branch information
chipsenkbeil authored Apr 22, 2024
1 parent d66e098 commit 974d0ff
Show file tree
Hide file tree
Showing 47 changed files with 5,598 additions and 937 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:

env:
CI: true
ROAM_DEBUG: true
ROAM_TEST_REPORT: false
ROAM_WAIT_TIME: 500

jobs:
tests:
Expand Down
Loading

0 comments on commit 974d0ff

Please sign in to comment.