Zurich
Account created on 11 June 2012, over 12 years ago
  • Lead Frontend & Design at Amazee Labsย 
  • Interaction Designer at Amazee Labsย 
  • Senior User Experience Designer at Unicย 
  • User Experience Designer at Unicย 
  • Senior Product Designer at GitLabย 
#

Merge Requests

More

Recent comments

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

I'm closing this again, like mentioned above. Please install the new core navigation instead. We'll deprecate our own integration very soon.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

I'm closing this as we won't further develop the test integration of the core navigation. This has moved into Drupal Core. It the problem is with the core navigation feel free to directly open an issue in Drupal Core.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

This module is not being actively developed. It was created as an outcome of my ideas proposal https://www.drupal.org/project/ideas/issues/3244581 ๐ŸŒฑ Enhance user experience with customizable dashboards Active which then led to the creation of https://www.drupal.org/project/dashboard โ†’

I think we can close this issue for now as "outdated" as the successor is the Dashboard module which gets actively worked on and is part of Drupal CMS. There are also other modules which came out of this initial idea, like https://www.drupal.org/project/dashboards โ†’

Cheers y'all!

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks for working on this! I left a question and a minor code suggestion

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Seems we haven't cherry-picked the commit, my bad ๐Ÿ˜…

Can you check if it's fixed on 4.0.x-dev?

If so I'll quickly do a 4.0.5 release

Thanks!

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Gin's styles are scoped for the modal while Claro's aren't that's true.

Like i mentioned above

If you think we should make this optional in the future, we can open a new issue to track it's development to provide maybe a setting for it.

We can create a follow-up to either (or both):
a) remove the need for Claro's styles and embed them into Gin so everything we provide for the modal is scoped.

b) Add a setting to enable/disable the libraries being exposed in the first place

Like I mentioned I'm completely not against this, but I know there are use cases (and thus we've added it) to have them exposed.

With the given solutions above we should be able to make it work in all situations

Feel free to open a follow-up!

Have a nice weekend

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

When is the toolbar interacting with media library? Why is it needed?

The toolbar module ist just called "toolbar" as it was originally named this way. It's functionality has grown over time quite a bit and it does provide all the things which are not possible to handle within an (admin) theme (to get past limitations).

This one depends on your use case and could be made optional in the future for sure. If you use Drupal's frontend editing tools this is needed to style for example the modal itself and it's contents under the umbrella of the admin theme as you'll get it unstyled otherwise (unless you include styles for this in your frontend of course). This is a longstanding issue in Drupal (Core) as admin themes can't declare anything outside of it's own context (/admin) and that we can't differ admin tools from frontend tools. Again this really depends on your use case, if this should be part of the admin experience or not.

I hope this helps โ˜บ๏ธ

I'm closing this as works as designed for now. If you think we should make this optional in the future, we can open a new issue to track it's development to provide maybe a setting for it.

Cheers!

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks for working on this, I've pushed some more fixes and made some slight adjustments but overall it looked great ๐Ÿ‘๐Ÿค

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks for the changes Vasantha ๐Ÿ‘

Thanks everyone!

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Same happening to me on a site with Drupal 10.4.2

Error appears on any route even not related to Project browser

@timplunkett suggested the problem happened when admin_toolbar_tools module is installed. Once I uninstalled that module I was able to update to project_browser-2.2.0-alpha8

This issue will probably surface on every Gin install if that's the case

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Glad to see this fixed, thank you! ๐Ÿฅณ๐Ÿ‘๐Ÿค

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

I'm not sure about the best path but as CiviCRM places an option to override the admin theme specifically for CiviCRM maybe you can first reach out to CiviCRM if they actually can handle it? This might be the best solution in my opinion.

As a temporary solution you could place your CSS overrides in https://www.drupal.org/docs/contributed-themes/gin-admin-theme/custom-th... โ†’ or create a small helper module and override the secondary toolbar template on the given path you mentioned

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

@rkoller thank you for putting this together ๐Ÿ‘

It will take a while to get through them so I appreciate you added a meta as well ๐Ÿค

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Hey @sandip thank you for working on this.

This currently only addresses the throbbers but this might need to be extended to transition properties as well?

@rkoller @mgifford maybe can provide some guidance here

Thanks!

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

I'm relying on Jรผrgen's expertise here, but if we can move complexity out of Gin or avoid adding it by adding it to a helper module I'm usually very happy as Gin is already quite complex on it's own. My 5 cent:

I guess, it felt necessary because a them can't provide permissions?

100%, themes can't declare permissions. So a helper module is needed

If that's the case, I'd rather put that into gin_toolbar as it is already a hard dependency for Gin and we could rely on it to be present.

That is currently the case, but once navigation is stable and takes over and we deprecate toolbar we have to evaluate the need for gin_toolbar again. So if this specific use case is handled in it's separated module it might make more sense [at least to me]

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

This probably needs a rebase since we've merged ๐Ÿ› Sticky actions fail on Ajax Active

Thanks ๐Ÿ™‡

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks! ๐Ÿ‘

Released & included in 4.0.3

https://www.drupal.org/project/gin/releases/4.0.3 โ†’

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

@scott_euser we closed it in favor of https://git.drupalcode.org/project/gin_permissions

So it could be worked on in gin permissions and I could add you as a maintainer if you'd like to contribute to that โ˜บ๏ธ

But would also love to hear @jurgenhaas opinion first about a permission approach ๐Ÿ‘€

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Hey chris

Great discovery, updated, thanks!

Also updated the installation guide: https://www.drupal.org/docs/contributed-themes/gin-admin-theme/installat... โ†’

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Update to 4.0

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thank you for your contribution here.

I have one question: Could this be solved with permissions? We've started https://git.drupalcode.org/project/gin_permissions a long time ago but it got never fully being worked on

See also ๐ŸŒฑ Add permissions for User settings Closed: won't fix

I'm asking as there could be a use case that you want to expose more settings to admins and less settings to content editors. But this solution seems to generally limit the settings no matter their role.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

We have scrollable tables with scroll indicators in Gin

So we might want to consider re-using Ginโ€™s implementation here also to avoid potential conflicts and issues

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

@christianadamski can you confirm that the latest added changes still work in your case? Thank you

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Left one question in the code, moving this back to needs work for now

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Hey @christianadamski thanks for creating an MR, I left one comment ๐Ÿ‘€

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

We're currently not planning a feature to disable this feature, so I'll close this for now. However you can use the hook to place all actions outside.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks for the clarification! Yes, this seems to be wrong.

Why the use case I was testing still works as expected: For that button to function correctly, the important part is what gets set on the submit button themselves. The form attribute is referring to the id of the form and the data-gin-sticky-form-selector is referring to the the action being triggered (also an id). This seems to be correctly set. As this button doesn't have to rely on the additional click() event from JS as it can directly (natively) trigger the id which is defined in the form attribute on the button (that's an native HTML feature). That's why this still works as expected.

So in a nutshell, if that's not the case for a form action the JS never gets triggered in the first place because of the id and data-drupal-selector selector mismatch.

If you can spin up an MR which changes the part within the if (buttonSelector) {} to use [id="${formId}"] instead of [data-drupal-selector="${formId}"] this should be fixed.

We might want to additionally exit the function when the form attribute exists on the action and is available in the dom, but this could be done in a follow-up.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Yes, feel free to spin up a MR with a fix and adding steps how we can reproduce it!

The id is being used which generally would be correct as it gets updated by the context object in an Ajax request running through Drupal behaviors. In my short testing with an simple Ajax form this seems to work as expected and the id gets replaced with each Ajax call. But maybe your user case does not run through this function somehow.

I've also quickly did spin up an vanilla instance on tugboat here: https://master-oipts4sjqrrbzlm2ezjy0rvvw0jnjxkj.tugboatqa.com/admin/stru...

(admin/admin) and if you change the "Allowed number of values" it sends an Ajax request and the id gets changed, Save gets the updated form id and form selector id.

Cheers!

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

I'd agree with most being written here. There are certain things we can't control as we're dependent on Core and other modules or would be complete overkill for Gin to handle like the granularity you're looking for with class names. This eventually would need to be placed in the ideas issue queue to make this change in Core itself.

While the scope of Gin has organically grow drastically in recent years there are certain things which are awaiting a refactoring โ€“ and this is one of them. We've modularized already a fair bit of the CSS we ship but not just yet the basic styles like you mentioned. Eventually we would also want to override CSS from Claro completely instead of just extending it at some point in the future โ€“ so there is some refactoring planned in that regard at least. But It's currently something which is not of the highest priority unfortunately. That being said you or anyone else is more than welcome to contribute towards this goal though! It's something that can be worked on a component basis, file by file.

We'd happily take any contributions in that regard.

I hope this helps,
Cheers

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Hey lovely Gutenberg team

Could you debug why this potentially is not showing up?

Thank you in advance

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

As you reported this as being an issue on rc15, can you reproduce this issue on either stable release 3.0 or 4.0.2?

I'm pretty confident that we've fixed this in rc16+

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks for verifying. I'm moving the issue to the field group issue queue

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

potentially composer require 'drupal/gin:^4.0' --with-dependencies would work, too

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Are you using the field_group module? If so we might want to move this to the module so they can look into fixing this.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

I don't think we have different opinions about stable code โ€“ but there is quite some complexity maintaining the main admin theme which has a ton of hidden requirements for different use cases which might not be obvious at the first glance.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

We don't want to add an explicit dependency. Also toolbar will soon be replaced by the new navigation module.

Unfortunately I'll have to close this as won't fix.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

The search icon seems misaligned and not the remove button

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

I'm closing this again, as you already created a new issue for the same thing in ๐Ÿ› Paragraphs Issue Active

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

That's a bummer. I see more situations where we do certain things where we only want to target Drupal CMS.

It could be just a config which we can easily query e.g. (drupal_cms: true) or anything else. We potentially could also include this setting in Gin if we can't place it somewhere outside it. However other modules might benefit of a setting like this, too in the long run. We can then make sure it gets enabled on the Drupal CMS installation progress (via recipes).

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

We should NOT add the accent library as this is only suitable for the backend, not for the frontend.

I would disagree here. The accent might be required to show the correct accent color within the dialog. As all our accent colors are gin prefixed this does not interfere with any content in the frontend. Also gin_dialog wraps all it's styles within the scope of .ui-dialog {} (note that we could change that to something like .gin-dialog {} down the line.

So with that there might no iframe needed.

That data attribute, among others, are being added in gin_preprocess_html(). Here is the catch. That preprocess never runs on the page where the XB app is rendered due to XB's unusual controller.

You're correct, also this will lead to more issues like Darkmode not working correctly, so we might want to fix this.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Can we scope this to Drupal CMS only?

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Do we know how this is supposed to look like? It seems still pretty much unstyled afterwards? ๐Ÿค”

that suggested change looks much better in theory. However, the buttons don't have any background color defined with that approach

Maybe a cache clear?

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thank you Cristina ๐Ÿ’™

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

@pameeela can we add an issue credit for lauriii and myself as we have worked on the initial proposal, too

Thanks!

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks Jรผrgen, closing

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Please contribute this to localize project over at https://localize.drupal.org/

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Please report problems with the new sidebar navigation in the core issue queue

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

The legacy CSS was removed like it was announced in the release notes. You might need to clear caches.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

We have spent a lot of research and time for different solutions and the split option just didn't perform and did not work for most users. Of course there will never be a solution which fits 100% of users. If you want to raise your concerns however, you can provide your feedback in the core issue queue for the new core navigation.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks for confirming. Closing as works as designed as this level is only ment to open and close the flyout menus. You can access the level from within the flyout menu itself (Overview links or the title).

Cheers

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Great thanks, I've issued a new release https://www.drupal.org/project/gin/releases/4.0.2 โ†’ ๐ŸŽ‰๐Ÿ––

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

More information are needed here. Which Extra tools? From Admin Toolbar or from Navigation?

Also can you provide a screenshot of which 1st level links you're talking about?

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks for confirming Paul ๐Ÿ™‡

Let's wait for another review

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks both ๐Ÿ‘

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

I still can't reproduce this, we'd need more steps or a video how to reproduce this

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

We're not using the sidebar for the media entity, so this must be some custom config or patch.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Additionally Gin 4.0 has removed its legacy code (Settings migration checks & CamelCase class support), see the 3.0 release notes.

Cheers

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

You might need to change the z-index of your sticky header.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks! I've went ahead and included some more outstanding implementations to expose local actions as well as a temporary solution.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

saschaeggi โ†’ changed the visibility of the branch 3495024-make-top-bar--gin.html.twig-compatible to hidden.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

saschaeggi โ†’ changed the visibility of the branch 8.x-3.x to hidden.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

saschaeggi โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks @flocondetoile ๐Ÿ‘

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thank you James

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

The icon used is quite complex at its optical size. It doesn't seem to go well with other icons. We also want to use svg's instead of pngs.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

This MR needs a rebase, I also left one tiny code nitpick

Thanks!

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

This needs a rebase

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

This needs a rebase and a dist recompile

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks for reporting, it's merged ๐Ÿš‚

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Decreasing prio. here as it's on the dev branch

Merging

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Closings as another duplicate, Paragraphs EE or Paragraphs features need to be updated. The issue was fixed in their issue queue.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Thanks

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

The MR needs a rebase ๐Ÿ‘€

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

I wasn't able to reproduce this, so I'll close this one. If that's still a problem for some feel free to reopen.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

saschaeggi โ†’ changed the visibility of the branch 3437516-improve-chosen-single-size to hidden.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Dist files are missing in the MR, moving back to needs work

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

The MR needs a rebase and recompiled CSS. Also I left 2 code comments ๐Ÿ‘€

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Is this still a problem?

If yes, we might want to rebase the MR and update it's code to not use background-image as this won't scale with accent colors.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Closing as outdated as I wasn't able to reproduce this. We recently pushed some paragraphs related improvements which might have fixed the issue described here, too. If that's not the case please feel free to reopen. Thanks

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Closing as I can't reproduce this, it might be outdated.

If you can still reproduce this feel free to reopen please.

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

I believe this is outdated as of now with recent changes.

Feel free to reopen if that's not the case please!

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

If this still applies, this MR needs a re-roll

๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

Is this still a problem?

If yes, we might want to rebase the MR and update it's code to not use background-image as this won't scale with accent colors.

Production build 0.71.5 2024