41 Commits
Author SHA1 Message Date
Christian RochaandGitHub 251e612949 fix(filepicker): fix a panic due to an unchecked assertion (#891) 2026-02-24 14:05:58 +03:00
Ayman Bagabas da0b892d17 refactor: migrate imports to charm.land/lipgloss 2025-11-04 15:02:23 -05:00
Ayman Bagabas a10cfddef9 chore: update import paths from github.com/charmbracelet/bubbles/v2 to charm.land/bubbles/v2 2025-11-04 14:57:00 -05:00
Ayman Bagabas 84fd71dae6 fix: use charm.land import path for bubbletea 2025-11-04 14:54:08 -05:00
1e2ffbbcf5 feat(textarea): get the word under the cursor (#814)
* feat(textarea): get the word under the cursor

* fix: lint

* Update textarea/textarea_test.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* test: fix

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-16 16:15:46 -03:00
a4c42b5791 feat(textarea): add focus status to setPromptFunc (#797)
* fix!(textarea): send focus status to promptFunc

* feat(filepicker): add highlighted file path

* chore: rename and add docs

* fix(filepicker): disabled cursor style

* feat(textarea): promptFunc receives a PromptInfo type with metadata

---------

Co-authored-by: Kujtim Hoxha <kujtimii.h@gmail.com>
2025-07-10 12:19:07 -04:00
Carlos Alexandro Becker 9d2d5dfc71 Merge remote-tracking branch 'origin/master' into v2-exp 2025-03-31 14:20:56 -03:00
Carlos Alexandro BeckerandGitHub bd2a5b0c6a fix: golangci-lint 2 fixes (#769) 2025-03-31 14:18:18 -03:00
Carlos Alexandro Becker d5bc1ac332 Merge remote-tracking branch 'origin/master' into v2-exp-update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-03-25 11:31:38 -03:00
Carlos Alexandro BeckerandGitHub 54f28b6501 fix(filepicker): properly scrolling filepicker (#753)
* fix(filepicker): properly scrolling filepicker

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: SetHeight

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-03-20 14:00:29 -03:00
Andrey Nering fff86382cc chore(lint): remove custom min and max functions
These are now available as builtins.
2025-03-20 10:42:52 -03:00
Andrey Nering 76433f7143 ci: fix linting on windows 2025-03-20 10:42:52 -03:00
Carlos Alexandro BeckerandGitHub c20ae83e2f fix: lint issues (#730) 2025-02-10 16:00:55 -03:00
Carlos Alexandro BeckerandGitHub 64c16e990e feat(v2)!: update to go 1.22 (#724)
* feat(v2)!: update to go 1.22

* fix: ci

* fix: more
2025-02-05 10:00:01 -03:00
Ayman Bagabas 061e464a70 refactor!: restore bubbletea model interface 2025-02-04 13:01:13 -05:00
Christian Rocha e8ba813a88 feat!(filepicker): use getters and setters for height 2024-10-31 15:02:05 -04:00
Ayman Bagabas db64e3cd78 feat: update lipgloss to v2 2024-10-29 15:54:24 -04:00
Christian Rocha c8d49eae0f chore(filepicker): minimal updates for Lip Gloss v2 2024-10-24 16:44:30 -04:00
Christian Rocha 57ac102802 chore(merge): branch 'master' into v2-mini-tidy 2024-10-24 15:22:16 -04:00
Christian Rocha 358a6c58c8 chore(lint): fix and suppress all soft lint issues; update directives 2024-10-24 12:35:42 -04:00
Ayman Bagabas 287c9c4ffd chore: merge branch 'master' into v2-exp 2024-10-21 14:16:22 -04:00
9a262e9b0f fix: use atomic for ids (#634)
closes #622

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Ville Valkonen <weezel@users.noreply.github.com>
2024-10-07 15:26:12 -03:00
Ayman Bagabas a2602f8509 feat!: v2: move to v2 module 2024-09-18 14:12:55 -04:00
Ayman Bagabas 0fdf5f5be5 feat: use bubbletea/v2 2024-09-18 14:09:58 -04:00
Ayman Bagabas 488bef7c13 Merge branch 'master' into v2-exp 2024-09-18 14:09:05 -04:00
Ayman BagabasandGitHub 9589cbc16c fix: lint issues and disable predeclared linter (#614) 2024-09-12 14:33:07 -03:00
Ayman Bagabas 8972b56c9d feat!: make Init return the model 2024-09-10 14:04:36 -04:00
Ayman Bagabas a93bfef532 feat!: use bubbletea@v2-exp 2024-09-09 14:12:52 -04:00
Maas Lalani 364eac96a8 feat: remove space for filesize 2024-01-31 11:28:54 -05:00
Maas Lalani 07e7bd4ee4 feat(filepicker): optional file permissions and file size 2024-01-29 17:13:36 -05:00
Maas Lalani 034ee8551e fix(filepicker): push / pop views 2024-01-29 15:59:11 -05:00
Maas Lalani 01d22a0ab1 fix(filepicker): height calculations 2024-01-29 15:00:43 -05:00
Christian RochaandGitHub afd7868712 chore: filepicker edits (#382)
* feat(filepicker): ignore messages from other filepicker instances

* feat(filepicker): initialize default styles against a lipgloss renderer

* chore(filepicker): swap global var for function with default keymap
2023-05-31 14:04:43 -04:00
Carlos Alexandro BeckerandMaas Lalani 7590e13c2a fix: filepicker on empty directory
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-01 09:58:44 -04:00
Kirn KimandMaas Lalani 9bfe8185f1 fix: line freeze on dir open + var typo 2023-04-28 14:08:34 -04:00
Kirn KimandMaas Lalani 325fd48de7 fix: var name typo fix 2023-04-28 14:08:34 -04:00
Kirn KimandMaas Lalani a79567aa2c fix: scroll margain 2023-04-28 14:08:34 -04:00
Maas Lalani 8865e0675a feat: add AllowedTypes to file picker to prevent selecting certain files 2023-04-05 13:17:50 -04:00
Maas Lalani 5db9f39f56 fix: set model max view to height initially 2023-03-09 14:20:08 -05:00
Maas Lalani 1ca90b3c94 feat(filepicker): allow setting current directory 2023-03-08 17:00:21 -05:00
Maas LalaniandGitHub 3372cf1aea Filepicker Bubble (#343)
* feat: filepicker bubble

* fix: bump bubbles to 1.16

* fix: allow customization of empty state

* fix: change `Enter` to `Open`

* fix: lint gomnd

* fix: don't send msg, instead check if this update caused a selection
2023-03-06 10:59:59 -05:00