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

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
Extract cell values to helper methods in the product/index component

This way the template becomes more readable and sets a standard for
future columns.

Co-Authored...

91e3477093596c99a9a6d8884b780184c9e25f8a authored over 1 year ago
Add column classes to ui/table and use it for the product image column

The product image column requires a specific width. This is now
possible by adding a TailwindCSS...

a47c3186b40371c77bb4cb9d21e648d1129ded0f authored over 1 year ago
Add a basic ui/table component used in the products/index component

This is a very basic component that can be used to render a table with
a header and a body. It's...

9980842dc7476ae5f39a1ac52b37e60110e6a16b authored over 1 year ago
Allow admin components to access `spree` routes

By default other engine namespaces are not available in the component
view context, so we need t...

0d7a71b7ace073c333d707f788ca333f6976e322 authored over 1 year ago
Add an empty product/index component

Only include the header as a starting point.

Co-Authored-By: Rainer Dema <[email protected]>

062b5c52bae5fe0a9f34156f96db9ac9965c3631 authored over 1 year ago
Add a controller for the admin/products#index action

Co-Authored-By: Rainer Dema <[email protected]>

5b74ae33eaa4410e74773b84ca3eab588cbcc14e 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
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
Add the stock column to the products/index component

Co-Authored-By: Rainer Dema <[email protected]>

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

118cba0a914dfcd828320475ff574f87d0a51003 authored over 1 year ago
Test Solidus logo's component

d8fe2358ddb404feb475e1a64f17aaf15c675183 authored over 1 year ago
Move the main_nav_item component to sidebar/item

Keeping subcomponents in the same namespace helps reducing noise when
the number of components g...

2cb2fde4522d2cf9d7784b29821c4c3fff3fb32e authored over 1 year ago
Change the component reference separator from `.` to `/`

This will make it very similar to the Rails convention of using `/` when
referencing partials.

ed8cde6e7c28768e2c5484b31d399402d9f41c9d authored over 1 year ago
Ensure tailwind classes are properly read from components

- It was missing component .erb templates and .js controllers
- We're not supposed to use non-ER...

643aa7b49d6d56e46ea5b191275ede8370c72e0b authored over 1 year ago
Move logo and main nav components within the sidebar one

We're going to hold off on extracting nested components for now.

dd932100c17f0761dfb3690175ef2a305aa8d9b3 authored over 1 year ago
Add Solidus logo component

It's configurable via the `logo_path` option in the admin configuration.

e9c412c523671e44a35ae3a5e6d7ea6d5f452aff authored over 1 year ago
Add documentation for importmap related configurations

c4f53e139d321da728c8dbf7d11becbaa76b68b4 authored over 1 year ago
Fix the admin component stimulus_id helper

`module_parent` can only be called from the class.

Co-Authored-By: Rainer Dema <rainer.dema@gma...

5471aad9eec671c92628443902b50078c5861254 authored over 1 year ago
Drop our custom importmap helper

A new version of importmap-rails has been released that supports
passing an importmap from outside.

6ba4459bfbb642621054038856dd931bbaa77d5d authored over 1 year ago
Fix the generated admin component namespace and superclass

Before this the namespace was used for the file path but was skipped
in the code.

Co-Authored-B...

60c0cef4187dac5bd709a4e9b4df65e3c10479ff authored over 1 year ago
Add theme colors to the admin tailwind configuration

Co-Authored-By: Rainer Dema <[email protected]>

2ea7acf598f1b52e16660f5ad4a5bc8af6506776 authored over 1 year ago
Add the "Inter" font family to the admin layout

Co-Authored-By: Rainer Dema <[email protected]>

2fd1c1d05c58d3aa3479d26960b393fb6a33eada authored over 1 year ago
Test sidebar component

For mocking nested components, we need to define a `name` class method
on the component class. O...

43491839ab9c6f6ff133f9953f803057d7a6bc5d authored over 1 year ago
Clarify that editing the admin importmap require an app reload

1622c78eb85e4223b2e6a001766141f08b76a555 authored over 1 year ago
Eager load stimulus controllers in solidus_admin's app/components

The component loader is taken from "@hotwired/stimulus-loading" and
adapted to load from app/com...

fff350336310495f77bea566983a3c755ff64d27 authored over 1 year ago
Remove unused admin auto-injector

We decided to hold off on this feature in
https://github.com/solidusio/solidus/pull/5136, so for...

3e72931bf8dffdd8f62406d400aa8173e1491ef9 authored over 1 year ago
Add app/components to sprockets asset paths

This is required by importmap-rails in order to be able to fetch
assets.

59763069d6372473a6a9f7000969e45f52763f0d authored over 1 year ago
Add an example component stimulus controller

545a88c8518863d90b0a1eec95dc30f7eb139c89 authored over 1 year ago
Add solidus_admin to the CI matrix

b841c7887e42a0a90a6a567312d388d43a7b3a10 authored over 1 year ago
Render sidebar from a component and nest main navigation within

428c81429b7a5052e17828cf562a91cb97be7c74 authored over 1 year ago
Test solidus admin has a version number

2957eeeba8bb51e558eb5eded23794933036644a authored over 1 year ago
Add hotwire support to the admin

105ce2b0945baeb4681f30251a66a9c7733dff49 authored over 1 year ago
Add a task for showing the admin importmap json

This is mostly done for debugging purposes similarly to the CLI
command offered by importmap-rai...

ec1368b55164337668a80df762cda2141b83c151 authored over 1 year ago
Use a placeholder CSS file for solidus_admin testing

Solidus Admin generates the compiled tailwind CSS file in the host
application. For now, we foll...

4295b11a7b8436882ab1c9f5a6299e40b8ab0179 authored over 1 year ago
Require spree_core when loading solidus_admin

Otherwise, requiring `solidus_admin` directly can raise an error, as it
happens during testing.

cdb3418d72a631be3766dc18c82b86b47b26cad6 authored over 1 year ago
Simplify solidus_admin spec configuration

We only left factory_bot, database_cleaner and capybara configuration as
we're going to use them...

108a983c73490816d9b081b7673fa0c95bd5fbca authored over 1 year ago
Organize solidus_admin spec_helper file

255100d1583421bc1e11dcd11ff7b6ebc84f15b0 authored over 1 year ago
Configure RSpec for component testing

4f7b0ddece7423e0a5c757e9be011810fd03d0e5 authored over 1 year ago
Fix including unavailable solidus_backend helpers in solidus_admin specs

Those helpers are only present in solidus_backend test setup, so we
can't access them from solid...

cf17e318234ad04105c608f192fbd6a932770b9a authored over 1 year ago
Setup an admin specific importmap instance

- The helper is identical to the original one except for defaults and
passing a custom importm...

acbfa8ae1a4c886308ee522d95ced299208055ce authored over 1 year ago
Switch from precompiling specific admin assets to a manifest

- Add a folder for admin image assets
- Add the app/javascript folder to the mix

bd164086d1e541b0e81d8d8701ae94023c2a3363 authored over 1 year ago
Document admin's view components extensibility

This document describes the working implementation of the admin's view
components extensibility.

c7cfdfdf72331042799815e1606255a2281bc748 authored over 1 year ago
[Admin] Make Solidus Admin on by default

At least, that's what we want until the development phase is over. That
way, we can test the adm...

51bfa0ef775de804a8362f6195383730ae697b55 authored over 1 year ago
Inline the admin component HTML template with `--no-html`

E.g.:

bin/rails g solidus_admin:component foo --no-html
create app/components/solidus_ad...

73e36febd57e91b47c62a1bcb799ee677caa676e authored over 1 year ago
Add the ability to generate components in SolidusAdmin

05d148c77efbfbb323341e63967b72a99a9b8834 authored over 1 year ago
Generate solidus_admin initializer on installation

It's good to have a solidus_admin initializer on installation, so that
users can easily configur...

54d2b2811c7f86397aeeb3968d5fe1bd6429e5cd authored over 1 year ago
Prepare admin container for sidecar components

We prepare the admin container to resolve components from within sidecar
directories and we name...

f6ebb618803b4d5dcf02a3fe94220e4d1b3baf1b authored over 1 year ago
Add an identifier helper to the base component

This will help avoiding explicit references to the stimulus controller
identifier.

420298fd0c46975b5cae4e31883e09319fded634 authored over 1 year ago
Replace auto-injection with vanilla Ruby initializers and ivars

We might want to add back some auto-injection mechanism in the future
but for now vanilla ruby i...

0059a4d358a222f31988929ad46b54620fddb9df authored over 1 year ago
Don't require calling super for components

It's not a standard practice for view components that are meant to
be very minimal and almost PO...

e90eff2670016c5d1d1d5e969a6cdc87c3044515 authored over 1 year ago
Document admin's tailwind extensibility

This is meant to be used as a reference while we implement the new admin
panel.

2c7ee9d360cc1767eb0f20f30c9283d8ff0cda3f authored over 1 year ago
Use /admin/account as the solidus_admin testbed

This page will probably be necessary in order to manage user
preferences like locale, timezone, ...

3e3d3726db9e6657d94af2b9ef864145585a2285 authored over 1 year ago
Add some basic TW classes to the admin layout

This is just to give it some shape but not attempting to implement the
final design.

515f20dc4e362b3ed31800bd4cc47a16d0cd3279 authored over 1 year ago
Auto-inject dependencies into components

By using dry-system's auto_inject feature, we can get rid of the
boilerplate code that injects d...

af783f3e3ce8cde6ef832189b388a5fef154781a authored over 1 year ago
Fix rubocop offenses

1ddd0290bebf5bd21a277d81ab9f31331542e85e authored over 1 year ago
Remove unused tailwind css file from admin

We used to compile tailwind css for the admin in the engine, but since
6f14f447c69c240561a5e7822...

88aa4f891b3c45cc595637dbe822e792eadd3651 authored over 1 year ago
Include admin container helper from components

This is to avoid duplicated methods.

32351e52578bc25931b4f6f874a30a6dc4ec64a0 authored over 1 year ago
Add component paths to the admin's tailwind config

fab868030d4ccd112d8d9dab54aa426f0c2b1227 authored over 1 year ago
Inject nested components into parent component initialization in admin

By following this pattern, overriding the parent component becomes
easier, as only the initializ...

0a1e8a49b92e86d1e54b23d6e9d8a1963a8ed6e4 authored over 1 year ago
Add a component generator specialized for SolidusAdmin

5d35ef3ca77806e88892a93cabc62137688a96b4 authored over 1 year ago
Allow overriding SolidusAdmin's configuration file

We were already allowing the configuration of the scanned paths through
`SolidusAdmin::Config::t...

c45ac8fdafcf984fcf2d82b1644587c5ebf988d2 authored over 1 year ago
Allow host app & extensions to add Tailwind CSS code

In a similar way we were doing for the tailwind configuration file, we're
now allowing the host ...

a00cac4a620f805ea7ed7a74dda65623c383c061 authored over 1 year ago
Use a configurable collection component for nav items in the admin

We're transforming the main nav item component into a collection
component to allow reusing it f...

1bfe5538610452d52f987cdacabe075335f3e84b authored over 1 year ago
Automatic injection of admin components from host app when matching path

This allows host apps to override the default admin components by
defining a component with a ma...

c000b16e1bdc2973249f6d39c1447c170a434adc authored over 1 year ago
Allow host app & extensions to make use & extend admin's tailwind classes

With this change, the host app and extensions can make use of the
tailwind classes defined in th...

4f9913ccfcb2fa23da59415e017302930f0c0160 authored over 1 year ago
Allow overriding admin component templates

Unfortunately, view_component doesn't allow overriding templates from
the host application by ju...

c63a789cf774c1c9acc755440c2d5e36cbb4592e authored over 1 year ago
Helper to render admin components resolved from the container

As it's going to be something that we'll use a lot, it's better to have
a helper to render compo...

6db825c3827e35903f9dc245af6768e60363f2a6 authored over 1 year ago
Allow overriding SolidusAdmin's Tailwind stylesheet

In the same way that we're allowing overriding Tailwind's configuration
file, we're now allowing...

e6ef09b33be09874ac6a024d6ce0fbedded8555b authored over 1 year ago
Nest a component for menu items within Solidus Admin's main nav component

We're still on a showcase phase, showing now how components can be
nested within other components.

817269c97caaa77cf271de07758ebd800d906a0a authored over 1 year ago
Dummy main navigation component for Solidus Admin

This is only to showcase the structure of a Solidus Admin component,
where all components should...

c51179ddf997b9dc519e95a02c7604eaabb4abed authored over 1 year ago
Install view_component and make it available to SolidusAdmin

We need to bump CircleCI cache to fetch latest changes on SSF allowing
view_components v3 (see
h...

c6651769c6d855d268cc5cb757a1f92c11a9ea3f authored over 1 year ago
Avoid polluting Object with admin's tailwind rake task helper methods

Methods defined within the `namespace` block of a rake task are
defined on `Object` and are thus...

9f1456534818caaa57b35740dfc88e50b6ba309c authored over 1 year ago
Add a task to watch tailwind on solidus_admin

From within the `admin` directory, it can be run with:

```bash
bundle exec rake solidus_admin:t...

e821a1c4cddd9f35ed15aede1f3834b2284c5deb authored over 1 year ago
Add `bin/dev` to automate development processes

1 - Running the sandbox server
2 - Compiling tailwind in solidus_admin

4b63fcbeb9de4e18a2e383dc77636a0e09fc3a78 authored over 1 year ago
Register admin view components in the registry

By always referencing them through the container, we're allowing host
applications to inject the...

4889ed9ea7a254f1e3098bdd03ab40bc27086cc8 authored over 1 year ago
Use a more standard assets configuration

We namespace all our assets under `solidus_admin` to avoid conflicts. We
use an `application.css...

ef9261b908c45609cf83119eeb9ca1025d0af79c authored over 1 year ago
Add tailwindcss-rails as a dependency for solidus_admin

As with the other components, the development environment is configured
on the top Gemfile. We a...

e357467ffe76a82779609c99336293828cc24326 authored over 1 year ago
Prepare assets pipeline for solidus_admin engine

We just add an empty manifest to the assets pipeline from the
solidus_admin engine.

e6eae8885a3d9690d4c03342597d7690036b54dd authored over 1 year ago
Configure tailwind in solidus_admin

We mimic how tailwindcss is configured in a regular Rails application [1]:

- `admin/config/tail...

a346e0524467f01fdebb0716bf8ed645544bbf7a authored over 1 year ago
Control wether to show the new admin with a cookie

The admin installation need to be run after core routes are set so
it takes precedence as new ro...

5176eddaa2c271af4e408f42c6685d2d87df4afa authored over 1 year ago
Prepare example to show how tailwind is used in solidus_admin

It can be rendered at `/admin/orders`, and we make use of it both in the
layout and action templ...

23142884b6a00aa78fe301e4b7649057f2363507 authored over 1 year ago
Add solidus_admin to newly generated stores

8036aeb4f694ef7ab5ecd24dcff6be676e1750d2 authored over 1 year ago
Add an "admin/" folder to house the new solidus_admin gem

fab9cffea5b98e5dce7ab0b20f4bb49b06aa0116 authored over 1 year ago
Merge pull request #5396 from solidusio/elia/ci-cache-keys

Use the latest bundle when testing solidus installation

803be9dc515def3fecc34ed9df413d40fdc01fad authored over 1 year ago
Use the latest bundle when testing solidus installation

ecdd51a49925ef91573ec1cdabb84fcf917cc9bd authored over 1 year ago
Merge pull request #5395 from nebulab/rainerd/feature/product-variant-option-values-ransacker

Enhance product model with `variants_option_values` ransacker

e4ae44418b7be021a73d32eeebf4dab06ec70759 authored over 1 year ago
Add ransacker for product variants option values

Introduce a ransacker `variants_option_values` on Spree::Product.
This ransacker enables dynamic...

0c66e14ad432a1f1d3956456b67ee87b6710c4b9 authored over 1 year ago
Include PRs labeled as `changelog:repository` in the changelog

4f090950dfdd5771ff9e384f4fd652b76dfa3a9d authored over 1 year ago
Merge pull request #5289 from nebulab/kennyadsl/deprecation-updates

Deprecate `Spree::Deprecation` in favor of `Spree.deprecator`

556d11ccb7465f3c79b6aac2ce4c34fc5c9b6e1c authored over 1 year ago
Convert all Spree::Deprecation in Spree.deprecator

e822f3fc70121f49f2cdc2c709c15fdf62b97be4 authored over 1 year ago
Deprecate Spree::Deprecation in favor of Spree.deprecator

Use autoload to print a deprecation only if the constant is loaded.

848bf9f1381073c9d7c8351689158395c5851f05 authored over 1 year ago
Use the new ActiveSupport deprecation syntax

See https://github.com/rails/rails/blob/814f8ee068814e3d4832a607f49f155e02a609c0/activesupport/l...

44d20af07877113a4a6a93dbb433cbdff3dd3858 authored over 1 year ago
Fix rspec warnings about error expectations

a7dd17b9b4e7c3529d2a2661ae7896af888cfa0f authored over 1 year ago
Merge pull request #5392 from solidusio/elia/admin-support

Update the `Spree::Backend` navigation menu to match the upcoming `SolidusAdmin`

1ca7101d7b91d1244e6a54d3fb3864bfecce291c authored over 1 year ago
Remove duplicate key from the stock menu item

38cd7b0126cdf509835f4a4897fbb13d1b486fb5 authored over 1 year ago
Explicitly link themes to avoid `link_tree` issues

`link_tree` seems to be failing when the server is restarted.
Given we're just providing two the...

7a41039825a132cff2e8fb8db3bcd5b25bf23aa5 authored over 1 year ago
Force the docker compose binding to every address

cd48157554b8d669cd171a16af051e1ae547a0ca authored over 1 year ago
Fix the legacy switcher not working on different paths

As the cookie was set relative to the path where the switcher was
clicked, it created as many co...

84fb1759fc76b701320019bc01bef4da5161b636 authored over 1 year ago
Prevent the admin toggle from breaking because of a missing locale

Now defaults to the english translation that we know to be present,
previously it was rendering ...

d01485977a7428fbe1e35228e63dc9438a951fb5 authored over 1 year ago