Git Product home page Git Product logo

Comments (13)

bodobraegger avatar bodobraegger commented on September 2, 2024 1
  • Try to remove unnecessary bloat, simplify layout for more consistent mobile views.
  • Simplify API where possible, remove unnecessary fields, move logic away from frontend where possible. I.e. Section#Chapter logic: just include proper parent pointers based on some unique identifier.
  • fix ignored URL prefixes
  • upgrade react to 17.X or 18.X, resolve dependencies accordingly
  • write dev guide after refactoring for (potentially new) dev and prod tooling

from thilo.

bodobraegger avatar bodobraegger commented on September 2, 2024 1

Yes, exactly. Now, only production relevant dependencies are used in the build process, and developer dependencies are used during local development.

from thilo.

aladwani avatar aladwani commented on September 2, 2024

I agree with the points mentioned above. Lets wait with the dev guide until the rest is done. There should also be a guide in the future how to set everything up in the background @jimmylevell.
I think phoenix mentioned to upgrade to ract 17.x should be enough for this sprint

from thilo.

jimmylevell avatar jimmylevell commented on September 2, 2024

Totally agree on your listings and your insight. Would write out the dev and admin guide (#65) as soon as the next iteration (0.9) is completed as heavy code quality improvements and simplification are introduced.

I will created a task within the API project to address the admin / dev guide.

from thilo.

jimmylevell avatar jimmylevell commented on September 2, 2024

Discussed in meeting

  • simplify URL (manageability within STRAPI) consider MUI and readable URLs
  • Dockerize everything so that it can be easier deployed #80

from thilo.

bodobraegger avatar bodobraegger commented on September 2, 2024

Please, when adding new dependencies, think about whether they are dev or production dependencies and organize them accordingly.

from thilo.

jimmylevell avatar jimmylevell commented on September 2, 2024

@broesmel : could you point out which commit you mean where I have added dependencies to the wrong section? As I went through my latest commits and only saw that I have added "serve" cd45a63#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519.

Just that I can fix the wrong assignment. Thank you for pointing out! :)

from thilo.

bodobraegger avatar bodobraegger commented on September 2, 2024

Hello! Sorry for the delay in answering.

Using "serve" as an example - which is not required in our production server as far as I know. When adding dependencies just used by developers, you can save them globally npm install -g <package_name> and leave them out of the project. Or, if you they are necessary for the development workflow, you can add them to the devDependencies npm install <package-name> --save-dev.
This avoids get compilation errors in case of dependency conflicts and so on.

Thanks!

from thilo.

bodobraegger avatar bodobraegger commented on September 2, 2024

@aladwani

Is the 'tasks' functionality as ported over the hering project relevant for thilo?

The same I ask myself for the 'targets', and most importantly for the 'links' which are fetched on every load.

edit after meet:
Functionality will be kept until initial content is filled and then we can check on how to maintain it.

from thilo.

bodobraegger avatar bodobraegger commented on September 2, 2024

I consider this to be mainly done, now waiting for the content to see if everything holds up. The code has some comments now and a dev guide can be created once we are nearing release.

from thilo.

jimmylevell avatar jimmylevell commented on September 2, 2024

Status of open tasks

  • Clear dev dependencies

from thilo.

bodobraegger avatar bodobraegger commented on September 2, 2024

I think (most of) the dev dependencies need to remain in the project to facilitate development. They are never going into the production code so this should not be too big of an issue.

from thilo.

jimmylevell avatar jimmylevell commented on September 2, 2024

@broesmel : ok so in this case the following point of yours has been resolved / addressed during your refactoring?

Please, when adding new dependencies, think about whether they are dev or production dependencies and organize them accordingly.

from thilo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.