-
Notifications
You must be signed in to change notification settings - Fork 13
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
Tobi mega issue #351
Comments
Thanks, great compilation of our screw ups haha 😄 Some answers to your questions / feedback
As it's a lot of feedback (and good one), maybe you can add a small time/complexity assessment, in regards to which are the low hanging fruits. E.g. refactoring the views I would propose to do after my open lane PR. But solving a couple of N+1 would be a good and small improvement. What do you think?
yes, same thought. But we should not defer it much later. |
So you mean after hitting hotkey "I" entering some data, you want "+" to submit the idea? or maybe control + enter? |
Btw: I just used the live generator for the lanes which also generated the |
@JannikStreek lmao... I wrote |
@JannikStreek as for the time/complexity/effort estimations tough to do when I don't know the app as well yet I can give it a shot but it'll be off even more than normal :) |
@JannikStreek added a question about whether the teasers/inspirations really need to live in the database or could just be static data (aka, who modifies them/inserts new ones?) |
Aight here is an overview issue, high level I haven't looked at the code in more detail yet:
Overview
Phoenix HTML style/dependency upgrade
(gave this one its own section due to its importance imo)
This relates to #310 but is more than this. The HTML usage is kind of old. There is a new "style" with heex to write components in that we don't seem to be using that seems to have been [introduced in 0.16[(https://hexdocs.pm/phoenix_live_view/bindings.html#rate-limiting-events-with-debounce-and-throttle) (we're on 0.18.18):
i.e. instead of:
what's done is:
(and I think these days you also use a function component for input so
<.input ... >
).Most notably phoenix now generates some core components (see f.ex. here - not sure when it was introduced) which is really nice and useful imo. (future Tobi: seems to have been added in 1.7 along with tailwind)
Might be nice to start the migration soon (unless there are deadlines), as otherwise it'll always become more code to change. I think it can be done step by step. Maybe after #344 ?
Performance
Full page load query logs for me
software design
Lane
uses mainly things from theBrainstorming
context, similar toIdeas
- normally the main schemas belong to the context, but untangling that is always tough. PerhapsBrainstorming
is just too big of a context as it encompasses almost all? 🤔Code Style
Strict mode credo output
Feature Ideas
<Ctrl> + <Enter>
would be awesomeDependencies
Switching libraries
Switching libraries usually has little benefit but I still wanted to mention some
Tests
One of my todos to look at. First look we don't seem to have a full integration test?
CI
The text was updated successfully, but these errors were encountered: