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

Filename input in Cloud File Browser for write component. #12228

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

farmaazon
Copy link
Contributor

Pull Request Description

Fixes #12112

Screencast.From.2025-02-04.16-41-59.mp4

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • [ ] Unit tests have been written where possible.
  • [ ] If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
    or the Snowflake database integration, a run of the Extra Tests has been scheduled.
    • If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

@farmaazon farmaazon added the -gui label Feb 4, 2025
@farmaazon farmaazon self-assigned this Feb 4, 2025
@farmaazon farmaazon marked this pull request as draft February 4, 2025 15:43
@farmaazon
Copy link
Contributor Author

Marked draft, as it is stacked on top of #12208

@farmaazon farmaazon force-pushed the wip/farmaazon/cfb-in-write branch from 4a37a0f to 45bb3f5 Compare February 5, 2025 09:54
@farmaazon farmaazon changed the title Component File Browser Filename input in Cloud File Browser for write component. Feb 5, 2025
@farmaazon farmaazon marked this pull request as ready for review February 5, 2025 10:12
Copy link

github-actions bot commented Feb 5, 2025

🧪 Storybook is successfully deployed!

📊 Dashboard:

Comment on lines +485 to +487
* @param keepAlive - when set, the `activity` instance will be kept between drop-down closing
* and opening. The activity component must not change it type (when being a ref) and provide
* `name` option explicitly.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An alternative approach would be <KeepAlive v-if="..."><component ...></KeepAlive><component v-else ...> (This could be packaged into a ConditionalKeepAlive slotted utility component to avoid writing the <component ....> twice). This would avoid the name requirement and the restriction on changing types.

@keydown.delete.stop
@keydown.arrow-left.stop
@keydown.arrow-right.stop
@keydown.enter="acceptCurrentFile() === false || $event.stopPropagation()"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be conditional? If the filename box is focused, I don't think I would expect Enter to be handled by the parent handler if the filename is invalid (empty).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cloud File Browser in write - File name input and OK button
2 participants