Comments (12)
Will do. We are on 1 behind the latest 10.7 but will test more as other collections donβt do it to me.
from directus-extension-field-actions.
Further to this I found if the click action is the display formatting is set to copy value rather than default action then the data is always not visible in the card view regardless of if a search is being performed or not.
from directus-extension-field-actions.
Hi, thanks for pointing out!
I haven't used the extension with the card layout yet. I'll make sure to test this next week and let you know if there's anything more I need for reproduction.
from directus-extension-field-actions.
Unfortunately I'm not able to replicate the issue.
Are you using the latest version?
Search with display in "classic mode" with action-buttons next to the value:
Search with display in "button mode" with a custom action button:
Can you specify in which situations the issue happens (field-type, layout configuration, display config)?
Apart from this, I notices that the button mode isn't fully compatible with the card-layout. The buttons are too high for the wrapper. Therefore I switched to a smaller button in a new version
from directus-extension-field-actions.
Ok wrote a whole reply and just as I was about to post I tested a hunch and found the problem. its in the display layout subtitle having a space after a hyphen. Also the problem only happens when the search returns only a sigle row of results (depending on the browser width)
from directus-extension-field-actions.
Unfortunately I'm still not able to replicate the issue.
Next to my previous tests I tried to replicate your setup as much as possible from the given information:
- using a status field that's displayed as dots
- Adding a text-field with the display
- Tested all three default click options
- Tested different button modes
Which versions of directus and this extension are you using? Have you installed the extension via npm or by copying the files into the extensions-folder?
from directus-extension-field-actions.
If you make the subtitle in the layout options:
Status - URL
you should get the problem.
I have noticed that updating to the latest version of your plugin has meant some records always show correctly even when others filter as well just to confuse me more.
from directus-extension-field-actions.
If you make the subtitle in the layout options:
Status - URL
you should get the problem
Unfortunately this doesn't makes a difference. The spaces shouldn't have any impact at all, as they're not rendered. Which directus version are you using?
I have noticed that updating to the latest version of your plugin has meant some records always show correctly even when others filter as well just to confuse me more.
This means there's something with overflowing data. Can you create an isolated reproduction with both the latest directus and extension version and send me a database dump?
from directus-extension-field-actions.
Okay, I've updated everything to the latest Directus 10.8.2 and this extension to 1.6.6 and still have the issue. I then tested on other collections and could re-create the problem. So I tested on a new test collection and could not re-create the problem with random data but as soon as I started entering IP addresses in the field that was set to the subtitle display the problem happened.
It has to be exactly this setup in the card subtitle display for the problem to happen:
{status}"space"-"space"{field with IP data}
if you add more spaces its the same and if you add more hyphens the problem gets worse.
if the data is not IPv4 data (numbers with dots) the problem does not happen. So I don't know if this is a directus css issue or this extension but it only happens when this extension is active in the display of the affected field.
from directus-extension-field-actions.
I'm still unable to replicate the issue. I've created a status field (display as dot) and a text field (field-action display), entered an IP V4 into the value and started a search. Everything works as expected:
Please create an isolated reproduction (fresh directus instance + this extension only) where you create one collection with some data for reproduction and send me the database dump. Otherwise I'm unfortunately unable to help, as I'm unable to reproduce the problem.
from directus-extension-field-actions.
So far I have been unable to reproduce in a fresh env. Not sure what on my prod env causes it as it is a docker setup.
In my prod env it appears to now only happen to specific records but not all so something somewhere needs a cleanup but thats my problem to sort.
from directus-extension-field-actions.
Thanks for getting back!
I'll close the issue for now, as we're both unable to reproduce it. Feel free to reopen in case you find a related issue with the extension.
from directus-extension-field-actions.
Related Issues (20)
- CSS around the field not showing. HOT 2
- Dark mode compatability HOT 1
- Feature Request: Allow using `PUBLIC_URL` as a base URL HOT 3
- Display breaks in sidebar-title and m2m display (v1.4.0)
- Display overflow in page title
- Click Action Redirection Problem HOT 2
- problem in One to Many table view HOT 3
- Add a way (or default behaviour) to open link in a new window HOT 2
- Add setting: Open link in current / new tab
- FIX: the display and interface still have the default id 'custom'
- Replace string with a specific character to show HOT 2
- Settings: Group Copy and link-actions in a collapsible (closed by default) HOT 1
- Cannot read properties of null (reading 'matches') HOT 3
- the fields config is not work in defineDisplay HOT 2
- prefix aren't indipendently for the copy and link button HOT 2
- Open on current window HOT 3
- Feature request: Actions to modify data of the item/field HOT 1
- how to use the extension HOT 4
- Not applicable for relational fields? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from directus-extension-field-actions.