-
Notifications
You must be signed in to change notification settings - Fork 6
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
GO-200/admin_others_target_UX #52
Conversation
…lver-it-sro/govbox-pro into GO-200/admin_others_target_UX
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dost naprd sa to cita, ked su tam este prilepene nejake zmeny od mirreca a lucie, ale nevidim tam vela pruserov. Mas komenty.
</div> | ||
<%= tag.turbo_frame id:'tag-search-results' %> | ||
<%= form.search_field :name_search, value: params[:name_search], placeholder: "Vyhľadaj štítok", | ||
oninput: "this.form.requestSubmit()", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tu si dajme poznamku, ze pri autocomplete sa zvykne robit aj nejaky debounce.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Autocomplete som pridal. Vid solver-it-sro@cb2627d
</div> | ||
<div class="self-stretch flex-col justify-start items-start flex"> | ||
<% @groups.each do |group| %> | ||
<%= render Admin::Permissions::GroupsListRowComponent.new(group) %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tu by moholo zafungovat https://viewcomponent.org/guide/collections.html#collections
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prerobil som tie, co si oznacil. Ale je to na vacsi refactor niekedy. Su ich tam desiatky
@@ -6,6 +6,7 @@ def show | |||
|
|||
@message.update(read: true) | |||
@message_thread = @message.thread | |||
@available_tags = available_tags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nemalo by toto byt lazy cez turbo? ze sa to nebude tahat vzdy, ked to vlastne treba len ak sa ide editovat tagy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, mas cez Turbo
@@ -0,0 +1,27 @@ | |||
module BoxTailwindColorHelper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Zvlastny nazov. V klude by som ich tu vypisal do pola (to by mal tailwind chytat) a dal tu helper ktoremu hodis nejaky name a on vygeneruje class podla hash. pripadne to presunut do Box rovno kde sa to generuje (V tom post create hook)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uz som ho vymazal. Len je to v tej dalsej branchi k vyberu boxu. Dal som to do komponentu, ktory zobrazuje ten farebny label tagu.
@@ -22,5 +22,6 @@ | |||
<% end %> | |||
<% end %> | |||
<%= turbo_frame_tag :modal %> | |||
<%= turbo_frame_tag :login_screen %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
login screen ma byt imho vlastny layout
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, tak som mu spravil, ale stale teda cakame login screen od UXakov
@stage-rl nevies tu zmenit target na tu tvoju branchu z ktorej to vychadza alebo aspon mergnut ten velky PR predtym? 216 suborov znova citat fakt nejdem. |
app/jobs/drafts/parse_import_job.rb
Outdated
@@ -77,9 +77,11 @@ def load_import_csv(import, csv_path) | |||
last_message_delivered_at: Time.now | |||
) | |||
|
|||
# TODO: Nemali by sme tento vytvorit hned s tenantom? Co ked niekto zalozi rucne medzitym? A to external je v tomto pripade matuce, mozno by to malo byt "system". Povedzme si |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ano, za mna systemove by mali vzniknut hned ako vznikne tenant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, hotovo.
t.enum :color, enum_type: 'color' | ||
end | ||
Box.all.each do |box| | ||
box.color = Box.colors.keys[Digest::MD5.hexdigest(@box.name).to_i(16) % Box.colors.size] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tu je preco stale ten md5?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To je jednorazovka na starych boxoch, nevadilo by. Ale hotovo.
Key changes