David Cook
968a224da6
Move vertical ellipsis menu to a ViewComponent
...
Javascript hasn't been moved in, as we don't seem to be set up for that yet.
We could make it smarter, and pass in an array of parameters to build the links (as in _order_links.html.haml). But why make it complicated if we don't need to?
2023-11-24 16:23:18 +11:00
David Cook
2bd2bea7b7
Remove need for class
...
Generally, I would say that style rules should have a BEM-style class name, but in this case it's terribly convenient to support a tags directly.
2023-11-24 16:14:28 +11:00
Filipe
c9084db933
Merge pull request #11761 from binarygit/open-external-links-in-new-page
...
Open external links in product description in a new page
2023-11-17 10:30:03 +00:00
Filipe
ed8fd41bec
Merge pull request #11290 from cyrillefr/Orders_in_confirmation_state_cannot_be_completed_by_hub_or_shop
...
Fix Orders in confirmation state cannot be completed by hub or shop
2023-11-16 19:50:14 +00:00
binarygit
f52c7e8a5d
Rename richtext controller and write specs
2023-11-13 21:31:41 +05:45
binarygit
e78fe663d2
Open external links in product description in a new page
2023-11-13 21:31:41 +05:45
Ryan Murphy
5c4b06730b
Fix navigation behavior on enterprise panel tabs
2023-11-10 12:26:16 -05:00
Maikel
dd1f358d36
Merge pull request #11757 from dacook/buu-disabled-button
...
[BUU] Grey out disabled button
2023-11-08 13:48:23 +11:00
Rachel Arnould
1e15d32a24
Merge pull request #11679 from abdellani/new_and_unique_invoice_template
...
New and unique invoice template
2023-11-03 16:49:19 +01:00
David Cook
f9fc1657a8
Grey out disabled button
...
It looks like the disabled-bg colour was being used for pagination, but I can't see where. This way we should be able to apply the styles more consistently in the future.
2023-11-03 17:28:20 +11:00
David Cook
7fe6f3fe89
Disable form elements in a disabled-section
...
I chose to use the 'elements' collection rather than choosing which elements to include (ie this supports inputs, textareas, buttons and anything else I didn't think of). It could be a bit simpler if we assume the element is a form. Even simpler if it's a fieldset (that has a disabled property). But I didn't want to limit it too much.
Unfortunately JS is quite ugly compared to Ruby. And 'prettier' made it uglier in my opinion.
2023-11-03 14:32:58 +11:00
David Cook
d0abbc5d2c
Ensure error summary always shows when error
...
Best viewed with whitespace ignored.
2023-11-03 14:32:58 +11:00
David Cook
41cf0bedfc
Fix: Handle missing attributes
2023-11-03 14:32:58 +11:00
David Cook
f05d27b58b
Show error message summary at top of form
2023-11-03 14:32:58 +11:00
Mohamed ABDELLANI
a08a2fd5f6
[skip ci] add terms of service link to the invoice.
2023-10-30 19:43:57 +01:00
cyrillefr
31cc0494c2
Icon for the new action
...
- Similar to the actual capture action
2023-10-29 22:05:34 +01:00
David Cook
04032e61e2
Prettier
2023-10-24 15:21:13 +11:00
David Cook
fdad45bb46
Rename 'modified' state to 'changed'
...
This conveniently matches the terminology used in both JavaScript and ActiveModel::Dirty.
2023-10-24 15:21:13 +11:00
Gaetan Craig-Riou
d2952d46a6
Add the highlighted version of the "ship" icon
2023-10-17 13:35:01 +11:00
Gaetan Craig-Riou
4639e53673
Remove insertToolTipMarkup
...
It's not great to have Stimulus controller rendering markup on `connect`
Stimulus is intended to add behavior to existing markup.
Plus add some documentation
2023-10-17 13:33:15 +11:00
lauriejefferson
e234b71b25
removed empty spaces
2023-10-13 19:25:12 +02:00
lauriejefferson
2020a9fa76
changed table row alignment to align-left and removed padding from table header
2023-10-13 19:25:12 +02:00
Konrad
5859d2ff78
Merge pull request #11114 from lauriejefferson/not-paid-order-confirmations-resemble-paid-orders-7603
...
Not paid order confirmations resemble paid orders 7603
2023-10-13 18:52:10 +02:00
HillaryOkello
d8e5f7ae4c
Remove padding-top for the ordered lists
2023-10-11 15:55:52 +03:00
David Cook
fee126d6e1
Style form error messages
...
With an icon, and sentence case (upcase_first is similar to humanize, but simpler (https://dev.to/junko911/rails-helper-methods-to-change-the-form-of-strings-1h9c#upcase-first ))
2023-10-06 14:15:07 +02:00
David Cook
5e478b8a76
Vertically align non-input content in table rows
2023-10-06 14:15:07 +02:00
David Cook
836f5a1fb3
Remove unused withError class
...
It added specificity but had no use.
I reviewed a couple of screens to make sure:
- /admin/orders/Rx/customer
- /admin/properties/new
I have to confess I don't know how Spree::Admin::BaseHelper is included, or where it's used.
Best viewed with whitespace ignored.
2023-10-06 14:15:07 +02:00
David Cook
6f43165006
Show generic error message when StimulusReflex fails
...
I decided not to invest the time to figure out how to test this..
The messages should have the same effect as the 500 error, but not technically a 500 because it's not handling a HTTP response. The documentation seems to state this covers server-side errors only (not network errors for example). I couldn't find any way to handle network errors with action cable.
2023-10-04 13:40:36 +02:00
David Cook
6d35b1ac71
Fix bulk form input styles
...
'header' fields are meant to be bold, and the field backgrounds are meant to match the cell background colour.
2023-10-04 13:40:36 +02:00
David Cook
ed207e3df6
DRY up code
2023-10-04 13:40:36 +02:00
David Cook
4467758a9f
Apply code suggestion
...
Co-authored-by: Jean-Baptiste Bellet <jb.bellet@gmail.com >
2023-10-04 13:40:36 +02:00
lauriejefferson
7320bb5af1
removed styling for paid orders and removed row for non oustanding balance
2023-09-28 20:02:58 -04:00
Rachel Arnould
a3ca7e9032
Merge pull request #11568 from jibees/11069-buu-fully-update-the-details-of-my-products-and-variants-1
...
🚧 [BUU] Add `Edit` link into a small menu on the last Actions column to the right of the table
2023-09-22 10:30:01 +02:00
Jean-Baptiste Bellet
458a031558
Create a private function for event listener
2023-09-22 09:30:40 +02:00
Rachel Arnould
15137caed2
Merge pull request #11509 from dacook/buu-editing-part3-11059
...
[BUU] Bulk form editing features
2023-09-20 19:27:05 +02:00
Jean-Baptiste Bellet
c76bc07f7f
Creates a vertical-ellipsis-menu component
2023-09-19 15:32:50 +02:00
Jean-Baptiste Bellet
02bbd9a9ba
Adjust colors and height for sidebar-item component
2023-09-15 11:05:59 +02:00
Jean-Baptiste Bellet
657f4d95d7
move sidebar-item into admin v3 context
2023-09-15 11:02:45 +02:00
Jean-Baptiste Bellet
fe81900639
Update select2.scss
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
10b6df6bd7
Tweak dashboard for a hub manager
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
7326241c70
Move pages/changetypeform to admin v3 context
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
ae04063643
Create and adjust big button
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
4aaf0ddc18
Move dashboard-single-ent into admin v3 context
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
a59c8adbbf
Adjust color for edit action to $teal
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
241dbd1ded
move plugins/powertip into admin v3 context
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
62465b9bbc
Move components/actions into admin_v3 context
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
dfe79396f6
Use $teal color for some info in the order page
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
f71ace1d39
Move sections/orders scss file into admin v3 context
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
f110c55531
Add product_import into admin_v3 context and adjust some colors
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
8ae68b15a0
Adjust select2 multiple choices colors
2023-09-15 10:47:44 +02:00