Commit Graph

2530 Commits

Author SHA1 Message Date
Aram Drevekenin
27763d26ab
feat(ui): new status bar mode (#2619)
* supermode prototype

* fix integration tests

* fix tests

* style(fmt): rustfmt
2023-07-12 11:31:00 +02:00
Thomas Linford
61f3789c88
docs(changelog): plugins tab switching with mouse fix 2023-06-30 09:44:19 +02:00
Thomas Linford
19a502cb28
fix(tab-bar,compact-bar): tab switching with mouse sometimes not working (#2587)
* tab-bar: fix clicks sometimes not registering

Caching the click position wasn't working across multiple plugin
instances.

Also a couple of refactors:
  - move the code with the tab switching logic inside update
  - avoid rendering when calling switch_tab_to, since it will happen
    anyway afterwards

* same fix for compact-bar
2023-06-30 09:42:23 +02:00
Aram Drevekenin
fda5923d64 chore(release): v0.37.2 2023-06-20 17:34:24 +02:00
Aram Drevekenin
3ed2a24572 chore(version): bump development version 2023-06-20 17:31:34 +02:00
Aram Drevekenin
97db481bb5
docs(changelog): fix plugin hide_self 2023-06-20 16:38:50 +02:00
Aram Drevekenin
019452bdbf
fix(plugins): make hide_self api idempotent (#2568)
* fix(plugins): make hide_self api idempotent

* style(fmt): rustfmt
2023-06-20 16:38:01 +02:00
Jae-Heon Ji
4fc30ee7ad
docs(changelog): hotfix default theme 2023-06-20 06:07:28 +09:00
Jae-Heon Ji
9ed45357ff
hotfix: include theme files into binary (#2566)
* fix: include theme files into binary

* fix: delete unused features

* fix: change user theme dir to optional
2023-06-20 05:57:39 +09:00
Aram Drevekenin
294b87803f chore(version): bump development version 2023-06-19 18:54:15 +02:00
Aram Drevekenin
a6c0a10eb7 chore(release): v0.37.1 2023-06-19 18:18:06 +02:00
Aram Drevekenin
5b14fc423b chore(version): bump development version 2023-06-19 18:14:00 +02:00
Aram Drevekenin
7d99ea66aa
docs(changelog): plugin api fixes 2023-06-19 18:10:24 +02:00
Aram Drevekenin
1280cc8d73
fix(plugins): swap layouts and invoked_with (#2564) 2023-06-19 18:09:08 +02:00
Jae-Heon Ji
0adb10573d
docs(changelog): hotfix theme issue 2023-06-19 00:21:26 +09:00
Jae-Heon Ji
a35bdb71e6
Revert "Fix error loading non-existant themes directory and use default themes as the base when merging (#2411)" (#2562)
This reverts commit 48e75d0559.
2023-06-19 00:18:57 +09:00
Aram Drevekenin
4102a14e5c chore(version): bump development version 2023-06-18 15:10:43 +02:00
Aram Drevekenin
9c4c78d5a3 chore(release): v0.37.0 2023-06-18 14:17:39 +02:00
Aram Drevekenin
76019acf00
docs(plugins): better zellij-tile-docs (#2560)
* docs(plugins): better zellij-tile-docs

* docs(code): fix examples - thanks cargo!
2023-06-18 13:57:27 +02:00
Aram Drevekenin
e79c3a96b7
docs(plugins): document the zellij-tile events and commands api (#2554) 2023-06-17 20:39:36 +02:00
Aram Drevekenin
805fd1dc81
feat(plugins): strider improvements (#2551)
* fix(plugins): adjust debounce and smart file ignore in strider

* style(comment): remove commented code

* style(fmt): rustfmt
2023-06-17 18:16:41 +02:00
Aram Drevekenin
29a391f60e
refactor(plugins): improve api (#2552)
* refactor(plugins): improve shim API

* style(fmt): rustfmt
2023-06-17 17:47:28 +02:00
Aram Drevekenin
10b7f3a981
docs(changelog): more plugin api methods 2023-06-17 14:44:11 +02:00
Aram Drevekenin
63e3a1eae2
feat(plugins): more plugin api methods (#2550)
* feat(plugins): close, focus, rename pane, rename tab and show_self api methods

* style(fmt): rustfmt
2023-06-17 14:41:49 +02:00
Aram Drevekenin
044519f537
docs(changelog): debounced watcher 2023-06-16 21:05:22 +02:00
Aram Drevekenin
b7436742cd
performance(plugins): use a debounced fs watcher (#2546)
* performance(plugins): use a debounced fs watcher

* style(fmt): rustfmt

* fix(macos): use recommended watcher
2023-06-16 21:04:22 +02:00
Aram Drevekenin
317bdfc902
docs(changelog): plugin pane events 2023-06-15 17:08:23 +02:00
Aram Drevekenin
bcbd940bf9
feat(plugins): plugin pane state events (#2545)
* feat(plugins): report pane state to plugins

* refactor(plugins): rename some stuff

* tests(plugins): adjust for new behavior

* style(fmt): rustfmt
2023-06-15 17:07:40 +02:00
Aram Drevekenin
8d6f20cfd9
docs(changelog): relative plugin urls 2023-06-14 13:45:29 +02:00
Aram Drevekenin
f19334754c
fix(plugins): allow loading relative urls (#2539)
* fix(plugins): allow loading relative urls

* style(fmt): rustfmt
2023-06-14 13:44:46 +02:00
Aram Drevekenin
59239cc113
docs(contributing): status of contributions 2023-06-14 13:24:34 +02:00
Aram Drevekenin
0545c20d8d
docs(changelog): suppress debug logging 2023-06-13 14:56:41 +02:00
Aram Drevekenin
3d82a2f5ac
fix(logs): suppress debug logs when not debugging (#2532)
* fix(logs): suppress debug logs when not debugging

* fix(tests): add debug flag to constructor
2023-06-13 14:55:49 +02:00
Aram Drevekenin
603eeb4c58
docs(changelog): plugin fs watch fix 2023-06-13 09:01:14 +02:00
Aram Drevekenin
0b831cfee5
fix(plugins): only listen to hd if a plugin is subscribed to hd events (#2529)
* fix(plugins): only listen to hd if a plugin is subscribed to hd events

* style(fmt): rustfmt

* fix(tests): give time for fs watcher to do its thing

* fix(tests): increase timeout
2023-06-13 08:59:44 +02:00
Aram Drevekenin
9e69bea434
docs(changelog): strider search improvements 2023-06-12 23:27:43 +02:00
Aram Drevekenin
b0a003dfc6
fix(strider): clear search term on ESC (#2531) 2023-06-12 23:26:47 +02:00
Aram Drevekenin
09e8da6a3a
docs(changelog): focus plugin tab fix 2023-06-12 22:06:22 +02:00
Aram Drevekenin
c65017c766
fix(screen): focus tab as well as pane when launching existing plugin (#2530)
* fix(screen): focus tab as well as pane when launching existing plugin

* style(fmt): rustfmt
2023-06-12 22:05:32 +02:00
Aram Drevekenin
02ee810d82
docs(changelog): cursor flicker fix 2023-06-12 19:03:13 +02:00
Aram Drevekenin
bffc2794da
fix(output): do not hide cursor on a render that does not include visual assets (#2528)
* fix(terminal): do not hide cursor if output-buffer only has non-visual assets

* style(fmt): rustfmt
2023-06-12 19:01:29 +02:00
Jae-Heon Ji
84e51d21fc
docs(changelog): fix local cache 2023-06-12 21:02:25 +09:00
Jae-Heon Ji
84f6edf999
fix: improve user experience (#2522) 2023-06-12 21:01:20 +09:00
Aram Drevekenin
49fbe15c98
docs(changelog): plugin api 2023-06-09 22:50:26 +02:00
Aram Drevekenin
8485b1c296
feat(plugins): extensive plugin api (#2516)
* feat(plugins): add our entire API

* style(fmt): rustfmt

* fix(detach): make it work again
2023-06-09 22:49:12 +02:00
Aram Drevekenin
7f0b878520
docs(changelog): plugin system overhaul 2023-06-07 12:45:18 +02:00
Aram Drevekenin
c11d75f915
feat(wasm-plugin-system): major overhaul and some goodies (#2510)
* strider resiliency

* worker channel prototype

* finalized ui

* show hide plugin

* fs events to plugins

* tests for events and new screen instructions

* various refactoringz

* report plugin errors instead of crashing zellij

* fix plugin loading with workers

* refactor: move watch filesystem

* some fixes and refactoring

* refactor(panes): combine pane insertion logic

* refactor(screen): launch or focus

* refactor(pty): consolidate default shell fetching

* refactor: various cleanups

* initial refactoring

* more initial refactoring

* refactor(strider): search

* style(fmt): rustfmt

* style(pty): cleanup

* style(clippy): ok clippy

* style(fmt): rustfmt
2023-06-07 12:43:35 +02:00
Jae-Heon Ji
b8f095330a
docs(changelog): fix cwd of newtab action 2023-06-01 02:54:58 +09:00
XiaoZhang
3d7c54aca0
fix: cwd of newtab action (#2455) 2023-06-01 02:54:09 +09:00
Aram Drevekenin
df0c7f1d9a
docs(changelog): plugin workers 2023-05-16 12:57:39 +02:00