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

Rename prompt #54

Open
6 tasks
retailcoder opened this issue Mar 12, 2023 · 0 comments
Open
6 tasks

Rename prompt #54

retailcoder opened this issue Mar 12, 2023 · 0 comments
Labels
component: Rubbeduck.UI Issue involves UI components feature: code actions Issues relating to code actions ("ducky menu") feature: editor shell Issues that relate to the editor shell skill:xaml Issues that involve XAML markup and WPF

Comments

@retailcoder
Copy link
Member

retailcoder commented Mar 12, 2023

Implement a prompt based on the MessageBox component, that receives an identifier name from user input in a textbox - mock-up:

mock-up of the prompt with an empty input field, a validation error message saying "field is required", a prompt to rename "class module Class1" with the "object-class" icon next to the "Rename" heading. Cancel buttons is available, Ok button is disabled.

  • New name is required (cannot be null, empty, or whitespace)
  • New name cannot match old name
  • New name defaults to old name, textbox content selected and focused
  • Validation error message is clearly visible (when applicable)
  • Icon (title) represents the DeclarationType of the symbol
  • Confirm (OK) command/button is disabled unless the name is valid

Maximum length - module: 31 characters. Anything else: 255 characters (TODO verify in MSVBAL).

@retailcoder retailcoder added skill:xaml Issues that involve XAML markup and WPF component: Rubbeduck.UI Issue involves UI components labels Mar 12, 2023
@retailcoder retailcoder changed the title Refactor/Rename prompt Rename prompt Mar 12, 2023
@retailcoder retailcoder added feature: editor shell Issues that relate to the editor shell feature: code actions Issues relating to code actions ("ducky menu") labels Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Rubbeduck.UI Issue involves UI components feature: code actions Issues relating to code actions ("ducky menu") feature: editor shell Issues that relate to the editor shell skill:xaml Issues that involve XAML markup and WPF
Projects
None yet
Development

No branches or pull requests

1 participant