Vienna
Account created on 24 August 2014, over 10 years ago
#

Merge Requests

More

Recent comments

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

This patch simply removes the breaking js from the module (we will revisit it later, since it's necessary for the sidekick chat feature to be content aware).

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

Disregard the last message for now (possibly turn it into a future task).

While debugging the issue I found the cause, and it will require a separate task to fix completely 3485590 πŸ› sidekick.js conflicts Active .

For now, I implemented a fix for the alt text generation on create forms, bear in mind if you select any of the `Show Sidekick in Sidebar` options except `Don't display` (admin/config/services/sidekick), you will likely encounter issues until that task is resolved.

Marking as fixed for now.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

rominronin β†’ created an issue.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

I took a deeper dive into what's going on behind the image alt text issue, and there are numerous issues with the workflow and implementation, so I think it's better to redefine what's intended and work towards that:

- As normal, a site builder can define, per image field, if alt or title fields should be enabled
- Sidekick can be enabled on the form display settings page per image field.
- IF enabled, there should be a checkbox to select alt field (as the sidekick target for this field)
- On the form (add or edit) page, the 'enable sidekick' setting should be checked, then the generate button should be displayed according to the form field settings.
- If 'enable sidekick' is not checked, the default core settings should be respected without interference

This last point is just one of the issues we currently have with the workflow.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

Ready, willing and able to contribute

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

The validation message was included. There is however another issue: the functionality doesn't work on the node/add form at all. This needs reviewing and fixing.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

rominronin β†’ changed the visibility of the branch 3479664-meta-description-generation to hidden.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

rominronin β†’ changed the visibility of the branch 3479664-meta-description-generation to hidden.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

One of the API input parameters ('prefer') was hard-coded.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

This was completed, but somehow regressed in the refactor. It has now been restored in https://www.drupal.org/project/sidekick/issues/3480769 πŸ› modal button does not work in Claro Theme Active

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

A publicly accessible image URL needs to be delivered to the API. This is not possible in local development or protected stage environments (without additional work).

Finding a solution to this is currently beyond the scope of the module.

We decided to notify users of API errors using Drupal's form field validation messages, so they at least understand why alt text cannot be generated (in non-public environments).

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

rominronin β†’ created an issue.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

The general issues are broadly fixed with the last merge. Development will continue per issue.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

This has now been fixed, and much of the standard functionality has been restored

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

Closing. This will be dealt with over here: https://www.drupal.org/project/sidekick/issues/3479535 πŸ› Fix general issues causing breaks Active

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

Closing. This will be dealt with over here: https://www.drupal.org/project/sidekick/issues/3479535 πŸ› Fix general issues causing breaks Active

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

rominronin β†’ created an issue.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

Pushed to the dev branch (accidentally)

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

Would be nice to include instructions for correctly configuring the/a linter. Out of the box, the automatic eshint scan finds a random .eslintrc file in the modules folder.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

I'm reopening this issue, since the js seems to conflict with the image widget ajax process.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

I'm reopening this issue, since the js seems to conflict with the image widget ajax process.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

Update: I will need to add some js code to the sidekick_js library to prevent the default close actions.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

Since yesterday afternoon I've been investigating the modal persistence issue, I'm embarrassed to say how long it took me to realise that the controller returning the AJAX response is where the dialog options are parsed.

Now that I finally found where to control the behaviour, I plan to update it.

On clicking the 'Open Sidekick' button:
- the button should load the iframe and insert it onto the page
- the button should be updated so it toggles the visibility of the iframe

I'll dive in to this topic to figure out how to achieve this in D10: https://www.drupal.org/docs/drupal-apis/ajax-api/core-ajax-callback-comm... β†’

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

Created a merge request!

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

rominronin β†’ made their first commit to this issue’s fork.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

This has been fixed in 1.0.0-alpha2. Closing

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

rominronin β†’ made their first commit to this issue’s fork.

πŸ‡¦πŸ‡ΉAustria rominronin Vienna

What is the latest here? How soon might we expect a review to take place? Thanks.

Production build 0.71.5 2024