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
The account page is a placeholder, we need to clear out the layout so
we can start building the ...
This way the template becomes more readable and sets a standard for
future columns.
Co-Authored...
91e3477093596c99a9a6d8884b780184c9e25f8a authored over 1 year ago
The product image column requires a specific width. This is now
possible by adding a TailwindCSS...
This is a very basic component that can be used to render a table with
a header and a body. It's...
By default other engine namespaces are not available in the component
view context, so we need t...
Only include the header as a starting point.
Co-Authored-By: Rainer Dema <[email protected]>
062b5c52bae5fe0a9f34156f96db9ac9965c3631 authored over 1 year agoCo-Authored-By: Rainer Dema <[email protected]>
5b74ae33eaa4410e74773b84ca3eab588cbcc14e authored over 1 year ago
Incrementally moving toward the final design:
- remove the grid gap
- add proper paddings
- upda...
Goes from:
Dry::Core::Container::KeyError in SolidusAdmin::Accounts#show
key not found: "compon...
Co-Authored-By: Rainer Dema <[email protected]>
8bf33688e19f856127548263b93625c8c1f65c83 authored over 1 year ago118cba0a914dfcd828320475ff574f87d0a51003 authored over 1 year ago
d8fe2358ddb404feb475e1a64f17aaf15c675183 authored over 1 year ago
Keeping subcomponents in the same namespace helps reducing noise when
the number of components g...
This will make it very similar to the Rails convention of using `/` when
referencing partials.
- It was missing component .erb templates and .js controllers
- We're not supposed to use non-ER...
We're going to hold off on extracting nested components for now.
dd932100c17f0761dfb3690175ef2a305aa8d9b3 authored over 1 year agoIt's configurable via the `logo_path` option in the admin configuration.
e9c412c523671e44a35ae3a5e6d7ea6d5f452aff authored over 1 year agoc4f53e139d321da728c8dbf7d11becbaa76b68b4 authored over 1 year ago
`module_parent` can only be called from the class.
Co-Authored-By: Rainer Dema <rainer.dema@gma...
5471aad9eec671c92628443902b50078c5861254 authored over 1 year ago
A new version of importmap-rails has been released that supports
passing an importmap from outside.
Before this the namespace was used for the file path but was skipped
in the code.
Co-Authored-B...
60c0cef4187dac5bd709a4e9b4df65e3c10479ff authored over 1 year agoCo-Authored-By: Rainer Dema <[email protected]>
2ea7acf598f1b52e16660f5ad4a5bc8af6506776 authored over 1 year agoCo-Authored-By: Rainer Dema <[email protected]>
2fd1c1d05c58d3aa3479d26960b393fb6a33eada authored over 1 year ago
For mocking nested components, we need to define a `name` class method
on the component class. O...
1622c78eb85e4223b2e6a001766141f08b76a555 authored over 1 year ago
The component loader is taken from "@hotwired/stimulus-loading" and
adapted to load from app/com...
We decided to hold off on this feature in
https://github.com/solidusio/solidus/pull/5136, so for...
This is required by importmap-rails in order to be able to fetch
assets.
545a88c8518863d90b0a1eec95dc30f7eb139c89 authored over 1 year ago
b841c7887e42a0a90a6a567312d388d43a7b3a10 authored over 1 year ago
428c81429b7a5052e17828cf562a91cb97be7c74 authored over 1 year ago
2957eeeba8bb51e558eb5eded23794933036644a authored over 1 year ago
105ce2b0945baeb4681f30251a66a9c7733dff49 authored over 1 year ago
This is mostly done for debugging purposes similarly to the CLI
command offered by importmap-rai...
Solidus Admin generates the compiled tailwind CSS file in the host
application. For now, we foll...
Otherwise, requiring `solidus_admin` directly can raise an error, as it
happens during testing.
We only left factory_bot, database_cleaner and capybara configuration as
we're going to use them...
255100d1583421bc1e11dcd11ff7b6ebc84f15b0 authored over 1 year ago
4f7b0ddece7423e0a5c757e9be011810fd03d0e5 authored over 1 year ago
Those helpers are only present in solidus_backend test setup, so we
can't access them from solid...
- The helper is identical to the original one except for defaults and
passing a custom importm...
- Add a folder for admin image assets
- Add the app/javascript folder to the mix
This document describes the working implementation of the admin's view
components extensibility.
At least, that's what we want until the development phase is over. That
way, we can test the adm...
E.g.:
bin/rails g solidus_admin:component foo --no-html
create app/components/solidus_ad...
05d148c77efbfbb323341e63967b72a99a9b8834 authored over 1 year ago
It's good to have a solidus_admin initializer on installation, so that
users can easily configur...
We prepare the admin container to resolve components from within sidecar
directories and we name...
This will help avoiding explicit references to the stimulus controller
identifier.
We might want to add back some auto-injection mechanism in the future
but for now vanilla ruby i...
It's not a standard practice for view components that are meant to
be very minimal and almost PO...
This is meant to be used as a reference while we implement the new admin
panel.
This page will probably be necessary in order to manage user
preferences like locale, timezone, ...
This is just to give it some shape but not attempting to implement the
final design.
By using dry-system's auto_inject feature, we can get rid of the
boilerplate code that injects d...
1ddd0290bebf5bd21a277d81ab9f31331542e85e authored over 1 year ago
We used to compile tailwind css for the admin in the engine, but since
6f14f447c69c240561a5e7822...
This is to avoid duplicated methods.
32351e52578bc25931b4f6f874a30a6dc4ec64a0 authored over 1 year agofab868030d4ccd112d8d9dab54aa426f0c2b1227 authored over 1 year ago
By following this pattern, overriding the parent component becomes
easier, as only the initializ...
5d35ef3ca77806e88892a93cabc62137688a96b4 authored over 1 year ago
We were already allowing the configuration of the scanned paths through
`SolidusAdmin::Config::t...
In a similar way we were doing for the tailwind configuration file, we're
now allowing the host ...
We're transforming the main nav item component into a collection
component to allow reusing it f...
This allows host apps to override the default admin components by
defining a component with a ma...
With this change, the host app and extensions can make use of the
tailwind classes defined in th...
Unfortunately, view_component doesn't allow overriding templates from
the host application by ju...
As it's going to be something that we'll use a lot, it's better to have
a helper to render compo...
In the same way that we're allowing overriding Tailwind's configuration
file, we're now allowing...
We're still on a showcase phase, showing now how components can be
nested within other components.
This is only to showcase the structure of a Solidus Admin component,
where all components should...
We need to bump CircleCI cache to fetch latest changes on SSF allowing
view_components v3 (see
h...
Methods defined within the `namespace` block of a rake task are
defined on `Object` and are thus...
From within the `admin` directory, it can be run with:
```bash
bundle exec rake solidus_admin:t...
1 - Running the sandbox server
2 - Compiling tailwind in solidus_admin
By always referencing them through the container, we're allowing host
applications to inject the...
We namespace all our assets under `solidus_admin` to avoid conflicts. We
use an `application.css...
As with the other components, the development environment is configured
on the top Gemfile. We a...
We just add an empty manifest to the assets pipeline from the
solidus_admin engine.
We mimic how tailwindcss is configured in a regular Rails application [1]:
- `admin/config/tail...
a346e0524467f01fdebb0716bf8ed645544bbf7a authored over 1 year ago
The admin installation need to be run after core routes are set so
it takes precedence as new ro...
It can be rendered at `/admin/orders`, and we make use of it both in the
layout and action templ...
8036aeb4f694ef7ab5ecd24dcff6be676e1750d2 authored over 1 year ago
fab9cffea5b98e5dce7ab0b20f4bb49b06aa0116 authored over 1 year ago
Use the latest bundle when testing solidus installation
803be9dc515def3fecc34ed9df413d40fdc01fad authored over 1 year agoecdd51a49925ef91573ec1cdabb84fcf917cc9bd authored over 1 year ago
Enhance product model with `variants_option_values` ransacker
e4ae44418b7be021a73d32eeebf4dab06ec70759 authored over 1 year ago
Introduce a ransacker `variants_option_values` on Spree::Product.
This ransacker enables dynamic...
4f090950dfdd5771ff9e384f4fd652b76dfa3a9d authored over 1 year ago
Deprecate `Spree::Deprecation` in favor of `Spree.deprecator`
556d11ccb7465f3c79b6aac2ce4c34fc5c9b6e1c authored over 1 year agoe822f3fc70121f49f2cdc2c709c15fdf62b97be4 authored over 1 year ago
Use autoload to print a deprecation only if the constant is loaded.
848bf9f1381073c9d7c8351689158395c5851f05 authored over 1 year agoSee https://github.com/rails/rails/blob/814f8ee068814e3d4832a607f49f155e02a609c0/activesupport/l...
44d20af07877113a4a6a93dbb433cbdff3dd3858 authored over 1 year agoa7dd17b9b4e7c3529d2a2661ae7896af888cfa0f authored over 1 year ago
Update the `Spree::Backend` navigation menu to match the upcoming `SolidusAdmin`
1ca7101d7b91d1244e6a54d3fb3864bfecce291c authored over 1 year ago38cd7b0126cdf509835f4a4897fbb13d1b486fb5 authored over 1 year ago
`link_tree` seems to be failing when the server is restarted.
Given we're just providing two the...
cd48157554b8d669cd171a16af051e1ae547a0ca authored over 1 year ago
As the cookie was set relative to the path where the switcher was
clicked, it created as many co...
Now defaults to the english translation that we know to be present,
previously it was rendering ...