Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/charmbracelet/bubbles from 0.15.0 to 0.16.1 #2229

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 5, 2023

Bumps github.com/charmbracelet/bubbles from 0.15.0 to 0.16.1.

Release notes

Sourced from github.com/charmbracelet/bubbles's releases.

v0.16.1

File Picker Bubble 📁 🫧

This release introduces a brand new filepicker bubble, new features, and a tonne of bugfixes. Let us know what you think, ask questions, or just say hello in our Discord.

For a quick start on how to use this bubble, take a look at the Example code.

Getting Started

Create a new file picker and add it to your Bubble Tea model.

picker := filepicker.New()
picker.CurrentDirectory, err = os.UserHomeDir()
if err != nil {
    // ...
}
m := model{
picker: picker,
// ...
}

Initialize the file picker in your Model's Init function.

func (m model) Init() tea.Cmd {
    return tea.Batch(
        m.picker.Init(),
        // ...
    )
}

Update the filepicker as any other bubble in the Update function. After the picker.Update, use the DidSelectFile(msg tea.Msg) function to perform an action when the user selects a valid file. You may allow only certain file types to be selected with the AllowedTypes property and allow directories to be selected with the DirAllowed property. To see the currently selected file/directory use the Path property.

var cmd tea.Cmd
m.picker, cmd = m.picker.Update(msg)
// Did the user select a file?
if didSelect, path := m.picker.DidSelectFile(msg); didSelect {
// Get the path of the selected file.
return m, tea.Println("You selected: " + selectedPath)
</tr></table>

... (truncated)

Commits
  • afd7868 chore: filepicker edits (#382)
  • 2eaa8e3 docs(readme): add file picker
  • 6034e68 feat(deps): bump github.com/charmbracelet/bubbletea from 0.23.1 to 0.24.0 (#377)
  • 25414a8 docs: add issue template (#367)
  • 9266653 Reset blink only when CursorBlink (#378)
  • 39f4eea fix(ci): remove soft-serve workflow
  • 7de306a docs: update license
  • e9dfea9 feat(spinner): periods of ellipsis
  • afb975b feat(textarea): make max width/height configurable
  • dc58240 chore(lint): help msg unused param
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @BupycHuk.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested review from a team as code owners June 5, 2023 03:00
@dependabot dependabot bot requested review from BupycHuk and removed request for a team June 5, 2023 03:00
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 5, 2023
@dependabot dependabot bot requested a review from artemgavrilov June 5, 2023 03:00
@dependabot dependabot bot added the go Pull requests that update Go code label Jun 5, 2023
@dependabot dependabot bot requested review from JiriCtvrtka and rishat-ishbulatov and removed request for a team June 5, 2023 03:00
@codecov
Copy link

codecov bot commented Jun 5, 2023

Codecov Report

Merging #2229 (43d6c6a) into main (d8a0224) will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2229      +/-   ##
==========================================
- Coverage   42.80%   42.74%   -0.07%     
==========================================
  Files         383      383              
  Lines       48126    48126              
==========================================
- Hits        20599    20570      -29     
- Misses      25592    25618      +26     
- Partials     1935     1938       +3     
Flag Coverage Δ
admin 10.45% <ø> (+0.04%) ⬆️
agent 52.97% <ø> (-0.31%) ⬇️
vmproxy 69.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@artemgavrilov artemgavrilov enabled auto-merge (squash) June 5, 2023 09:50
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch 5 times, most recently from 8aa7e80 to 118c9d9 Compare June 6, 2023 11:20
@BupycHuk
Copy link
Member

BupycHuk commented Jun 7, 2023

@dependabot squash and merge

@BupycHuk
Copy link
Member

BupycHuk commented Jun 7, 2023

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch from 118c9d9 to 6da7f09 Compare June 7, 2023 22:14
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 7, 2023

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch 7 times, most recently from 077aec1 to 829c384 Compare June 14, 2023 11:05
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch 5 times, most recently from 590e0b4 to 03f7de4 Compare June 16, 2023 11:24
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch 6 times, most recently from 82fbba2 to 857f10d Compare June 28, 2023 12:21
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch 3 times, most recently from 1d8e2f7 to be0212b Compare June 30, 2023 11:13
@artemgavrilov
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch from be0212b to 7a0ba6c Compare July 7, 2023 15:34
@artemgavrilov
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch from 7a0ba6c to 6bd8b78 Compare July 11, 2023 10:13
@artemgavrilov
Copy link
Contributor

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch from 6bd8b78 to a959ca1 Compare September 5, 2023 10:02
@artemgavrilov
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch from a959ca1 to bbbe7a5 Compare September 5, 2023 12:15
@artemgavrilov
Copy link
Contributor

@dependabot rebase

Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) from 0.15.0 to 0.16.1.
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Commits](charmbracelet/bubbles@v0.15.0...v0.16.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch from bbbe7a5 to 43d6c6a Compare September 5, 2023 14:41
@artemgavrilov artemgavrilov merged commit eea5256 into main Sep 5, 2023
32 checks passed
@artemgavrilov artemgavrilov deleted the dependabot/go_modules/github.com/charmbracelet/bubbles-0.16.1 branch September 5, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants