Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/solidusio/solidus

🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
https://github.com/solidusio/solidus

Use blank alt attribute for the decorative admin logo image

The image is purely decorative, as the store name is already present
just below it. This avoids ...

8fa62fe8833fd64632afed27e7506f574a64fa96 authored over 1 year ago
Add labels to the batch actions checkboxes

f180761cc5ceff8dd70690ca8d411b591f560f39 authored over 1 year ago
Toggle toolbars and update the counter in the ui/table component

Stitches everything together with some JavaScript:
- the `thead` checkbox will be indeterminate ...

94816debe6604751844bff737c1f548ec167d800 authored over 1 year ago
Add a batch actions form to the ui/table component

The batch action form acts as a hub for row-level checkboxes and
batch-action buttons. The butto...

23f3dd2ee92b6ccd2abd05b493bd21833d7be39a authored over 1 year ago
Add a header for the selected rows counter to the ui/table component

5fe547de3b3fb7640c00d0fb75f80a28c195b474 authored over 1 year ago
Add a header for batch action buttons to the ui/table component

c5c7c8531f9c616b569e2dd8acf6fbd49d3d1587 authored over 1 year ago
Fallback on id for admin product index sorting

In specs records are created very quickly and may not retain the
creation order.

7d55601f0744d251fbca072019e97b5f6e88fac1 authored over 1 year ago
Tweak admin sidebar styles

The logo has some padding that hadn't been accounted for, and the
vertical spacing for some elem...

aa32692ee5d6a2954844cea313e8ade0c3ec991a authored over 1 year ago
Inline ui/table components `render_cell` helper

It didn't add much value, and inlining it clears the way for further
modifications to the cell c...

4d3b2af0901dd0a33f6465ef70271ebcd83aaff3 authored over 1 year ago
Add tailwind variants for the hidden attribute

We need to be able to set styles based on the presence or absence of
this attribute.

See https:...

7575f1c2e19707d32ba2ea35e279c36d8f9f4d0d authored over 1 year ago
Add missing items to the admin main navigation

This commit adds the missing items to the admin main navigation to bring
it to parity with the o...

550d344d6bf1540fb8e6d009c4f402a1c2d69ceb authored over 1 year ago
Support static strings in ui/table headers and columns

ed07d0afb4ef3e4578c943096ac05afcbf06da03 authored over 1 year ago
Add batch actions checkboxes to the ui/table component

1f26428790743096c7e5faaf78584e72b20ea5fc authored over 1 year ago
Fix the ui/checkbox component style when focused & checked

The default `background-color: currentColor` was interfering with the
checkbox background color ...

87f74d8c1855926f8afd24e426b2f31546a964fa authored over 1 year ago
Keep translation files organized per controller

Since we're leveraging relative lookup for translations in controllers,
we can keep them organiz...

7d4430e43ac1f938ddb6aca9621ff244148886a8 authored over 1 year ago
Enable partial double verification for admin specs

Ensure doubles are using an API that is supported by the original
object.

See also http://rspec...

3e9f56c4e47495ef7dd6698770efd5d09712e655 authored over 1 year ago
Improve the style of ui/table data cells

- Vertically center their contents using a flex wrapper
- Adjust the cells width to match the fu...

7e13fe1fa22eeb99523776a88a820caa52e29452 authored over 1 year ago
Move some ui/table header classes from `th` to `thead`

e53f3b2ae4118b89649da3a64d298661a181d615 authored over 1 year ago
Use a fixed layout for the ui/table component

Prevents column sizes from jumping when showing/hiding the table
header.

bec9ed8a94ac4e3b9f2c51ed4ba43521708ec47d authored over 1 year ago
Accept a list of batch actions in the ui/table component

2effa74914e084b007ec2a3c74eb52ec794105b6 authored over 1 year ago
Use the digest path as the favicon for solidus_admin

Not having this would generate an error during feature specs.

e11f5ae2f6fdb1c93c665c22ec75bb44d286c2e8 authored over 1 year ago
Add text for the admin product/index image column header

This improves accessibility naming the column that holds images.

bb1ad76ffaae02cd4196d994201d562a83040075 authored over 1 year ago
Set the role for the flash messages area

bf104022e2bf3a969736bbbf9eeeafac9c3439bd authored over 1 year ago
Cleanup unused ui/table component classes

01cf54aeb91ee11de0563f73f96ab807c93f1424 authored over 1 year ago
Fix HTML tag not specifying language in the admin

This fixes WCAG 2.1's SC 3.1.1 (Language of Page) criteria [1].

[1] - https://www.w3.org/WAI/WC...

6cf627e4029b9815ca60b2981de3b38a152ddcaf authored over 1 year ago
Add a missing join to the `ui/toast` component

c7a7eda741664cf017824569ecbc9e2831972ffd authored over 1 year ago
Implement pagination in Admin Products listing

This commit introduces pagination for the Products listing in the
SolidusAdmin interface with `G...

a6e3217587503b6190aac69b5092c9233e730651 authored over 1 year ago
Load hotwire gems when loading solidus_admin

Those gems are required by solidus_admin in order to work.

This issue was blocking dummy app fr...

abed8e9bf6b37dd7358707b2cb3675b698412457 authored over 1 year ago
Show flash messages with the ui/toast component

3df0454e8ea86b73a9e0e49aa57cc4979e52f8d2 authored over 1 year ago
Fix nested main menu items wrapped within "nav" instead of "ul"

This fixes two accessibility issues:

- It frees the top-level "nav" landmark from the need to b...

9944dd2412f52069e9710446c6185fe3fe52edd8 authored over 1 year ago
Introduce a `ui/pagination` component

This component is designed to handle pagination logic.
It takes two parameters:
- A GearedPagin...

302f7477cc16b9ae2b7efa503114e41d5e8809dc authored over 1 year ago
Add automatic testing for accessibility in the new admin

We use the axe set of gems [1] to test for automatic testing of accessibility
issues in the new ...

fd086f412b87754e2fbe6ec2de8c6d95267acb9c authored over 1 year ago
Add `geared_pagination` gem

This commit adds the geared_pagination gem to the Gemfile, enabling
geared pagination for the ad...

7745c03f602996a9dde1d443f8f413621e287881 authored over 1 year ago
Add a dummy scopes toolbar to the ui/table component

This sets up the container and usage for the scopes/saved-searches
features without delving into...

e7d106c2e3442be5e786bebd42b2e9c93a99e867 authored over 1 year ago
Add a `ui/tab` component

fb8210f2fbefe11d2054a17a657233494329a454 authored over 1 year ago
Add account navigation component for the new admin

It's not still fully functional, as authentication is not yet
in place. For now, we use dummy da...

490fb1d86352e612db3bf0fbe25b46da6ba143c5 authored over 1 year ago
Reallocate Pagination Component into Table Component Module

The component `SolidusAdmin::UI::Pagination::Component` has been moved
to `SolidusAdmin::UI::Tab...

83602601e3103786e56ef6593f81b5c5c3ce5986 authored over 1 year ago
Add h1 to products index page

This fixes the accessibility issue of the page not having a heading. [1]

[1] - https://dequeuni...

509637b98a60955731bae0775943886b1de8a856 authored over 1 year ago
Refactor Products Index view to use the table component with pagination

The `SolidusAdmin::Products::Index::Component` has been updated to accept a
page object, which r...

bbefebc7d2d95c52d0b12b97fbb3ecffef131e77 authored over 1 year ago
Integrate `ui/pagination` component with `ui/table` component

The SolidusAdmin::UI::Table::Component now accepts a Geared Pagination
page object, and a pagina...

b914c1813b992a69e64244a4af33dc40114fc1e5 authored over 1 year ago
Move the compiled tailwind config to a known location

Enable tailwind tools to pick up the current configuration.

Tailwind CSS IntelliSense can be co...

37ea2ac258d690caf341616d65c24b0a811d8fbd authored over 1 year ago
Only show a product image if present on the product

Add a simple spec that covers the basics of /admin/products/index.

cc4d504b24f31eab39e658e99365c41441486bbc authored over 1 year ago
Add a Toast component

Still needs some typography love.

8e22041da83f341cd4323a8d2c6a01f7a417f6f7 authored over 1 year ago
Adds HTML titles to admin pages

We use a dumb implementation for now, where the name is inferred from
the controller name. We do...

0708f799d8e2356f7842a92c03535264ed34d53b authored over 1 year ago
Make clear that the component product methods are public and customizable

We want to support users changing the default columns or how an
individual column is rendered.

21bec922c67cdb626b1725cdd4ec311d54fd08a3 authored over 1 year ago
Avoid specifying sidebar's icon fill color manually

With the default value of the icon_tag helper (fill-current)
it's already inheriting from the pa...

817c2ea09bcf7b294bbf755838e25cb250b815a5 authored over 1 year ago
Add solidus_backend to solidus_admin's dependecies

For the time being solidus_backend is a hard dependencies, once
solidus_admin will cover all the...

16ad16c4d3968b49b33c567edf83fbefeaf654bc authored over 1 year ago
Improve component generator docs

Most likely that command will be executed from the project
root, and not from the admin folder. ...

db71416b708f407d15ee98ee14b3d9dd0f4cfc13 authored over 1 year ago
Remove redundant tailwindcss dependency from admin

Tailwindcss ended up being a runtime dependency for the admin in
8e7ae3fb. As it's already defin...

6f4d4b3b8e36b597f9d0c1f4d2267404dc66d0ea authored over 1 year ago
Add component preview for the sidebar item component

We mock the url helpers so the dummy route we use points to the
current page.

At the same time,...

af4783a2c953c8bbc04c2dbae3f1fe8c4b34c334 authored over 1 year ago
Fix extension on erb file

df4dee42b57f334da8acb1533cedc8ab2f84a47a authored over 1 year ago
Showcase admin typography classes in lookbook

We don't use a lookbook page because view_component doesn't provide a
shortcut to configure the ...

757565e8e201a1e3fccca3d59d62ca8936345b14 authored over 1 year ago
Configure admin's typography

We're creating custom Tailwind classes, as our design system contains a
set of well-defined font...

f4dc3cb1ce32b23a4a851c4a615c917622cb5b13 authored over 1 year ago
Add a basic ui/button component

Still missing icon support because the SVG sprite revealed itself
hard to take about spacing and...

86169fb5a7758fead369ea71cedaeca56e8cf639 authored over 1 year ago
Fix typo in component preview HTML file

3fbc0c5ce2dc30283a5e2f4130fa83cb7f6cd200 authored over 1 year ago
Add a basic spec for the product listing

eb40ef75fbeaceb0186709d1007c68913d25c3c0 authored over 1 year ago
Fix accessibility for empty column headers in admin tables

When a column header is empty, it should be a `td` tag instead [1].

We refactor the table compo...

a85191946157e5508844c66c3eaf51f6e11bfba1 authored over 1 year ago
Extract sidebar item's icon to a proper helper

We are going to use this icon_tag a lot so it might
make sense to extract it into a common place.

8020666f9ce56f4b9edc7c948edbaf9bb5567560 authored over 1 year ago
Do not modify core routes in the base component specs

This will interfere with the default navigation relying on legacy
backend routes used to create ...

ccaae194d85e301c8399ace6ca818b18c9bea6a8 authored over 1 year ago
Handle active admin menu items from admin main navigation

When it comes to styling, an active menu item has two considerations:

- It's highlighted.
- It'...

ccf8818736cfda141c0c030feae6855aff5bb556 authored over 1 year ago
Hide container details from the user to configure admin main navigation

Instead, the entry point is `SolidusAdmin::Config.main_nav`, from which
they can call `add` to a...

ea791e89d3119a1e47035bf938182a14a6408a15 authored over 1 year ago
Use a context object to resolve admin man nav components

Instead of using the magic url helper module with fallbacks to `spree`,
we explicitly pass a con...

cc7ed6e5468cbcc764b1fc6a8671b0fd883582fa authored over 1 year ago
Use remix icons for admin's main navigation items

The images used for the main navigation are part of the Remix icon set
[1]. It's enough to give ...

cc49e958ff86f46d19375c839cc840e4ce705769 authored over 1 year ago
Add a ui/checkbox component

38cf7753b2809c5f13b8801a8ecd828f4119b4c9 authored over 1 year ago
Provide columns as an array to the ui/table component initializer

092eedb1941cfc1e2625119b349acf0faa05a580 authored over 1 year ago
Normalize cell content generation in the ui/table component

- add special support for Symbol, and Proc in header and data cells
- add support for returning ...

aeda743dbea9a6e5ba4a7ffb4d1defea3a48cfc1 authored over 1 year ago
Add the preview for the sidebar admin component

We inject a tweaked item component to avoid rendering actual links in
the embedded preview.

We'...

7fa58b895a3ef2db16623d60e3b55e93862038ad authored over 1 year ago
Document admin main menu configuration

c677219fb3ed36be968b69dddb4a1e67840db907 authored over 1 year ago
Use the correct type for component preview YARD param directives

"[String]" didn't actually work, but since it defaults to "text" we
didn't notice.

4b690363ddc3a59a9b2b8c33b687a4f83e41cc6c authored over 1 year ago
Add a preview and spec for the ui/table component

d19f1f62dfbed3de57fde93c2f1a4d4fafacd34d authored over 1 year ago
Keep all preview related generic helpers into a module

- adds `current_component`
- adds a `helpers` reference to all helpers available in SolidusAdmin...

ac7e8df05db98f652a917453344f53cc0cbd67a2 authored over 1 year ago
Remove unaccounted param from generated component previews

8effe6d5535408a006da7581eb88f450a885e099 authored over 1 year ago
Set the generator root for solidus_admin testing to the toplevel tmp folder

This will avoid rubocop and other tools picking it up.

69a127080552f3b760cbf802841cf32171b53f64 authored over 1 year ago
Fix sidebar background color

e22de0207d755e9601defcde5b3bda76747ff05d authored over 1 year ago
Add SolidusAdmin to the dummy app routes

202db171136f3d19e01103fe59ddacd2ceb463ec authored over 1 year ago
Show stimulus debug messages for local development

81b497414207c9d8e602b64add8441d58e22619a authored over 1 year ago
Set up nested main nav items for the admin

We need to add both a `children` and a `top_level` attributes:

- `children` allows us to easily...

4b93321ad551985f667c9d0f93ccf8b0504c3c25 authored over 1 year ago
Move nav item markup to a template

It's starting to get larger, and it's easier to read and edit in a
template.

20e5f54088b2d90d74b581ac007c024d1a7505f7 authored over 1 year ago
Replace the max width for the image column

Turns out that `min-content` is a working value for the max-width
of the image column.

119ac9902a3ff32b7997be4bcb79bf8368e5c565 authored over 1 year ago
Replace hardcoded tailwind pixel values with spacing values

467c572b6146d2d76d23e0ac8aa6d8d39e7ca320 authored over 1 year ago
Add a color to the theme instead of hardcoding it

The name comes from an online service, but it's clearly marked as
extra-palette in the configura...

6c0b8483b28564974da96131626ebd0b7f5670c3 authored over 1 year ago
Add previews and specs for the ui/badge component

df51dc57885b0f58c54e090394d17dd46aa37fe5 authored over 1 year ago
Add support for view_component previews

There's a bug in view_component prior to v3.3 that would prevent
previews from working properly.

f812157e0e33ac43f143269cc6e76100a5f80e68 authored over 1 year ago
Add sizes support to the ui/badge component

1aece896b5bab1f7a3dd20b8cc1ea1f720d1f2ac authored over 1 year ago
Add a spec for the component generator to avoid regressions

e4e0c3b2a869f212c5ec1cdd323ca3df6367124b authored over 1 year ago
Fix the component spec generator class and helper name

e51d0e70a465a1c794297c0596d89665eec86b7b authored over 1 year ago
Fix SolidusAdmin::BaseComponent#stimulus_id

- match the id generated by the stimulus controller loader
- store it on the component class sin...

c9f87348ab3d380671f27981f6eb7428a471aa4c authored over 1 year ago
Allow admin components to easily access admin routes

By default ViewComponent will include the application routes.

We're opting for explicitly call ...

0fc6fd22e440ac6dfbd348578a79572aada57857 authored over 1 year ago
Set up admin's main navigation routes

We configure the main navigation routes so that the main menu is already
clickable.

For that, w...

34740df711045083a0c3c34403af378845060cbd authored over 1 year ago
Generate component previews along with components

4bb907fb7fce8d9934179b55ef7fedd01b953740 authored over 1 year ago
Don't hardcode the stimulus controller suffix for components

e5bd5e65f3fb3f1592950693bb9e46af65ce31bc authored over 1 year ago
Style :hover on admin main navigation

The item icon also needs to change its color on hover, and we faced
different alternatives to do...

25a80d9b6debab3beab6ddc65192789b877b6b14 authored over 1 year ago
Add basic state styles to the main navigation

We still don't cover active items, hover or nested items. We also
improve the dummy data to be m...

870d6ba96af4aa78431ae7f3b945931cb929e926 authored over 1 year ago
Flatten the namespace nesting

This will help with moving around components, we're also not expected
use many constants from wi...

7b5000204f081c45c1135d45bd22871da0c0314e authored over 1 year ago
Move the dummy admin header to the account page

The account page is a placeholder, we need to clear out the layout so
we can start building the ...

8117298af247ca45f24a0da421cdf133a40752f8 authored over 1 year ago
Add an inflection to consider "UI" as an acronym

The DRY.rb container needs to be connected manually to Rails
inflections otherwise it will use i...

5e719dbc8e8ab7738fd80981cd4da3e1f6055efd authored over 1 year ago
Squash the /system subfolder

It's less confusing since it didn't map to a namespace.

531f52c5b485cc6b4fa31404cfb59b798fdb9ee8 authored over 1 year ago
Use the standard File::SEPARATOR constant instead o defining it locally

118cba0a914dfcd828320475ff574f87d0a51003 authored over 1 year ago
Improve error messages for missing components

Goes from:

Dry::Core::Container::KeyError in SolidusAdmin::Accounts#show
key not found: "compon...

3a7c2b3616c26fe7211838e70ab4998f23d04777 authored over 1 year ago
Fix the colors and spacing of the admin layout

Incrementally moving toward the final design:
- remove the grid gap
- add proper paddings
- upda...

6cbcce94d38025d3c652236f626a6a2d5bdd8fbd authored over 1 year ago