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

Vue 3 #2976

Open
2 tasks
vabene1111 opened this issue Feb 24, 2024 · 4 comments
Open
2 tasks

Vue 3 #2976

vabene1111 opened this issue Feb 24, 2024 · 4 comments
Labels
project task lists for bigger projects

Comments

@vabene1111
Copy link
Collaborator

vabene1111 commented Feb 24, 2024

Background

Tandoor is currently build around Vue 2 which has been deprecated and is no longer supported with (security) updates. This is why Tandoors frontend is currently being rewritten in Vue 3. This is a massive project that started at the beginning of 2024.

Since the frontend had to be redone completely and I have learned a lot since the last time I started with a new frontend some major changes and improvements are coming along with that

  • switch from UI library bootstrap-vue to vuetify, a material design based library with very nice components
  • everything is being rewritten as an SPA (single page application) which should improve the user experience (especially performance)
  • switch bundler from webpack to vite for much better performance

A lot of attention is directed towards making Tandoor much more user friendly with organized UIs that mostly work on small screens as well and removing some of the different experiments from prior versions.

Release Plan / Current State

I plan on releasing Tandoor version 2 as soon as all the most basic and required features are implemented but probably not with all things that worked in Tandoor versions 1.X. I will then add, over time, everything that is missing. The plan is to keep the database unchanged for as long as possible or release database changes to Tandoor 1.X as well, so you can test out Tandoor 2.X and go back to 1.X if you are missing any features or problems come up.

My project tracking ongoing work is here https://github.com/orgs/TandoorRecipes/projects/1
You can also look at the feature branch feature/vue3 to see what is being done.

I hope to have a first usable version with the absolute minimum of features working by the end of 2024.

Impact

While working on the new version development of tandoor is mostly stopped. Backend fixes and small tweaks are still being made but most of my attention is directed at Tandoor 2. Especially all UI related issues of the current tandoor version are no longer worked on, as all UI features will be rewritten 100% from scratch in Tandoor 2, so fixing them in the old version would be a waste of time.

TODO's for later

  • migrate comments to enhanced cook log (see also communication rework #1934)
  • proper delete views for protected models (recipe, property types, ..)
@vabene1111 vabene1111 added the project task lists for bigger projects label Feb 24, 2024
@smilerz smilerz pinned this issue Mar 26, 2024
@smilerz
Copy link
Collaborator

smilerz commented Mar 26, 2024

  • MIgrate from drf autoschema to drf-spectacular
  • deprecate custom QueryParam class
  • make all end points paginated
  • add query param to all end points that make sense
  • add date filters to all end points that make sense
  • add created_at, and updated_at to all models
  • ensure every endpoint has a test

@jpitlor
Copy link

jpitlor commented Oct 18, 2024

Question, since there doesn't seem to be any comments in this issue yet - do you have any gut feeling on how far along this feature is? Not asking for specifics, just something on a scale of "I tinker every so often in my free time, it'll happen when it happens" to "just wrapping up the last couple pages".

Thanks for all your work! Tandoor has been very helpful to me, especially the shopping list!

@smilerz
Copy link
Collaborator

smilerz commented Oct 18, 2024

do you have any gut feeling on how far along this feature is? Not asking for specifics, just something on a scale of "I tinker every so often in my free time, it'll happen when it happens" to "just wrapping up the last couple pages".

a lot closer to "I tinker every so often in my free time, it'll happen when it happens" than "just wrapping up the last couple pages"

@vabene1111
Copy link
Collaborator Author

A very very basic version of almost all major features is done and I have been getting faster at finishing features. That said I want tandoor 2 to be much more refined and usable than the 1.x version.

My goal is to start using the new version on my own server which I use almost daily this year. A real release suitable for everyone that is used to all the features of 1.x is probably a lot further off.

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

No branches or pull requests

3 participants