Comments (2)
Nice catch! Just fyi, the commit area is a part of Team Explorer and not handled by us. The only part in these screenshots that is ours is the Publish to GitHub area. But it's still important to look at the overall behavior of Team Explorer, since our bits live in it.
Now in the case of the commit area clearing the fields when you hit refresh, it depends on whether the refresh button is intended to bring out new information that VS isn't aware of (say, a new file that's been added to the repository outside of VS), or whether the refresh button is intended to reset the state. In the first case, I wouldn't want it clearing the fields, because it's just refreshing the screen with new information that the user can't fill in (so not touching the user input fields makes sense). In the second case, if it's job is resetting the screen, then yes, makes sense to clear the fields. I can see a good reasoning for both, and I'm inclined to think that the refresh button is intended to update the information on screen without touching user input fields.
In the case of the Publish to GitHub form, the question is then: do we treat the refresh button as a reset button, or not? Also keeping in mind that the other user input fields on that page are not controlled by us (the Publish to Remote Repository and other Publish sections that might live there) and we can't make them follow our behavior.
I'm inclined to never touch user input fields unless it's very clear what a button does. If we reset the description field when the user clicks refresh, is that something that the user is expecting?
from visualstudio.
I'm going with treating the button as a refresh button, not a reset button, so we won't clear the fields.
from visualstudio.
Related Issues (20)
- Unexpected problem
- Commit Changes Button is not Visible while adding .gitignore in My Main Branch, Please Look into this and provide necessary workaround!!
- Tailwind CSS not working on visual studios
- Failed to launch debug adapter - 17.6.0 Preview 1 - Blazor HOT 1
- Bug report
- {! Doctypehtml} HOT 1
- VS Community 2022 RUN and Compile functions aren't available
- A
- QuickWatch Doesn't Have "View" Button For StringBuilder (VS 2022)
- xaml live preivewer is mirrored
- VS 2022 Mac 17.5.4 cannot build project from external ssd
- Documentation re: reviewing github pull requests is out of date
- Slow run times
- Ft
- A repository named "Foo already exists for owner "MyGitHubUser" -- but no, it does not
- Activity 2
- My link
- Add an option/tool to convert selected members of a class to positional record
- New Here
- visual studio docker error: NU1301: Unable to > load the service index for source
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from visualstudio.