Comments (10)
@antonymilne There is indeed an issue in our list (738 on the internal queue, which I won't link to here) to revisit the contribution guide. I'll need some engineering time to help me with it, so maybe next sprint we can block out a few hours?
from vizro.
Here we go: https://vizro.readthedocs.io/en/stable/pages/explanation/contributing/
In general, it's just setting up hatch
. The linting will be done automatically when you push the PR. The changelog you would create by running hatch run changelog:add
from vizro-core :) Give it a try and let me know if there are any issues!
I've assigned the other ticket to our technical writer @stichbury as well :) She'll take care of the broken link 👍
from vizro.
FYI @yury-fedotov our contributions guidelines are a little bit out of date, and actually it should be even easier to install hatch now - see https://hatch.pypa.io/latest/install/. The new hatch python
command also makes things even easier.
We should update these guidelines, not just because they're slightly out of date, but also because the vizro contribution process should be really easy (e.g. no need for DCO signoff like on kedro), and our docs are probably a bit overwhelming to a first time contributor at the moment and make it look harder than it actually is. @stichbury did you already have any plans for the contribution page? It's been on my list for a while to revisit.
from vizro.
No, it actually doesn’t require a changelog file because it doesn’t contain changes inside the folders vizro-core or vizro-ai :)
Otherwise the linting would complain about a missing changelog file. So you can do any changes outside these folders without a changelog file being required.
I didn’t remove the test. If it didn’t run, it’s probably because it didn’t get triggered as there are no changes inside the relevant folders.
from vizro.
Ahah yes, you are right! I thought the job always run but you're right that it doesn't get triggered unless there's files changed inside vizro-core or vizro-ai 👍 Nothing broken then. So basically @yury-fedotov, that PR is just an edge case where the check that a changelog file was added didn't run - in 99% of PRs, even simple ones, a check will block you from merging without a changelog file (an empty file is ok).
from vizro.
Great point! 👍 🚀
I think it's best to remove these controls from that page. Are you keen to create a PR yourself? You would only have to update the app.py here and the jupyter version :)
Otherwise, let me know and I'll do it, but we always welcome contributions! 💯
from vizro.
I'll be happy to try. Where can I find the contribution docs? I guess I'll need some developer setup, e.g. for this thing the team uses to generate the CHANGELOG
from small files autogenerated for each PR.
I raised an issue that currently it leads to 404.
from vizro.
Thanks for the replies guys :) Quick question on PRs that fix minor things, like this one.
For such small updates / bugfixes you don't do the CHANGELOG thing with skriv
?
from vizro.
Actually all PRs should currently require a changelog file, even if it's left empty. It looks like the checks-vizro-core job that enforces this didn't run on that PR - not sure why. Probably it just got removed by accident and didn't get added to the list again. Any ideas @huong-li-nguyen @l0uden?
With that said, PRs that are just changes to docs don't really need a changelog file at all, and it would be nice to not force an author to generate one. We could probably change the job to not apply the job for PRs with the docs/
prefix 🤔 Or check to see if the only files changed were in docs. wdyt @maxschulz-COL? Could be a quick and easy improvement for this flow.
from vizro.
FYI after has #480 merged then a changelog fragment should no longer be required just for docs edits.
from vizro.
Related Issues (20)
- Add documentation about the demo example and clean up `examples`
- Revise the graphics used in README for `vizro-ai` and `vizro-core` so they render better in PyPI
- CSS of AG Grid `floatingFilter` option buggy HOT 1
- AgGrid doesn't work with `persistence` props HOT 2
- Add a tabbed navigation to move between `vizro-core` and `vizro-ai` docs HOT 1
- Can I add an icon to a button HOT 2
- Check all links in docs and make them more accessible HOT 15
- Enabling in-depth user interaction through input widgets HOT 7
- typo in explore-components/#22-add-further-components HOT 1
- False negative on hatch run test inside container environment HOT 3
- Custom AG Grid function overwrites pandas.DataFrame provided as input with an empty pandas.DataFrame HOT 2
- __call__ function within models/_components/graphy.py passing parent function kwargs unintentionally HOT 11
- Minor typo in "Explore Vizro" tutorial HOT 1
- Contribution guidelines link leads to `404` HOT 1
- Multiple Series Line Chart Updates HOT 2
- Consider adding a file uploader widget HOT 2
- New features available for dcc.Loading HOT 1
- trendline options None not works. HOT 5
- Does Vizro AI support Azure Open AI gpt-4-32k? HOT 2
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 vizro.