Closed MichelleBlanchette closed 11 months ago
The specified layout should still be carried through to the frontend for extensions of the React component rendering: https://github.com/PurpleTurtleCreative/completionist-pro/pull/47#issuecomment-1872092928
When I solved this quickly before in https://github.com/PurpleTurtleCreative/completionist/pull/198, I was thinking this wasn't Completionist's problem to solve since it only ever utilizes the list
layout, anyways. However, since it has always output the data-layout
attribute on the root node from parsing the project URL, my previous solution wasn't consistent with the functionality before the break. Basically, my solution wasn't backwards-compatible. I mean, it was because the links still parse the understood layout, but now the user has no (obvious/natural) way to specify the layout (even if it isn't currently utilized by Completionist). It could be by extenders and custom CSS or the like.
So I'm going to add the layout
shortcode attribute and priority will be as such:
layout
layout
from shortcode attribute src
Asana project URLlist
Asana recently updated their URL structure for project views within the web app. This has already caused confusion with a user (including myself while resolving the issue on their site). Fortunately, I was able to fix the URL by using the "Copy Project URL" button in the Asana app. However, the simple and intuitive method of copying the browser address bar is much preferred. Additionally, this means Completionist Pro's integration is now broken for specifying the layout via the project URL.
I posted the following details in Asana's Community Forum: https://forum.asana.com/t/how-to-determine-project-layout-view-from-url/558032
Problem
With the recent change in Asana that added icons to the List, Board, Calendar, etc. layout tabs in a project, it seems the URL structure has also changed. This has broken an incredibly intuitive UX that I was taking advantage of in my application.
In my application, I allow Asana users to simply provide the project link (actually, the web browser address URL) of the view/layout which they'd like to "embed".
For example, the URL for a project's board layout was originally like:
Now the URL seems to be something like:
Questions
Somewhat similar thread: https://forum.asana.com/t/how-to-distinguish-between-a-project-and-a-team-url/166931