I am using the following versions:
flower==0.9.3
celery==4.3.0
Which gives me the following display for a tasks page with several columns:
Each time I enter this page I end up rearranging the page to have columns in a different order and I change the ordering for the rows to be descending.
What I want to know is if there is some way to configure it to have the columns and rows in that order by default. i.e. Name -> State -> args -> Result -> UUID descending instead of Name -> UUID -> State -> args -> Result ascending
I haven't been able to find any mention of this in the docs, is there a configuration I can use to achieve this?
Apparently there are no customizable column sorting in flower. According to the comment of flower's owner on Github issues [Jul 6, 2020]:
There are no plans to work on this feature at the moment until someone decides to contribute to the project.
But, there is a merged pull request into flower's master branch that makes flower show the recent tasks on top in tasks page [Ordered by Started DESC]. You can install the Development version in order to change the default sorting if it helps:
$ pip install https://github.com/mher/flower/zipball/master#egg=flower
Related
We are currently implementing Azure Devops for our backlog and task management. We are using a Kanban board setup. I would like to add a query to our dashboard to show Stale actions, effectively I want to see a list tasks that have been assigned but not modified in 7 days.
Initially I tried the state change date, but am finding that some tasks are having activity but just not a state change.
So I tried Changed Date, but that shows changes to the priority level when other items are changed.
How can I write a query that would only identify work items that have not been modified in over 7 days?
Currently there are no existing field can meet your requirement. And the Changed Date field will be updated if there are any changes to this work item as you mentioned.
As a workaround, you could try following steps.
Add a custom field to a work item type (Inheritance process), I add field LastEdit which is Date/Time type and IsActive which is Text (single line) type for Task, and field IsActive is required, as below.
Add a rule to a work item type (Inheritance process), I add 3 rules for Task, as below.
Therefore, the field LastEdit is the last edit time, and users must edit the field IsActive when they update this work item and then the field LastEdit will be updated, otherwise they cannot save their changes.
Now you could filter target Tasks that using the field LastEdit, as below.
Here's the approach I tried utilizing rules to set a "LastEdit" custom date field. I have 4 of these set for different changes, then I can query off the LastEdit date. It'll take a few days before I know if this works or not, but some simple testing seem ok. The major shortcoming I see is that I cant create a rule to update the LastEdit based on a new comment being entered.
The problem I'm having right now is related to advanced filtering in shopify theme "Fashe"
I have made certain filter groups in my store using advanced filtering by group option. But when i choose a filter in one category, I want other filters to be updated as well related to that category.
Like If i choose collection type to be of one kind, i want the collection colors to be related to those kind only. right now it shows me all the colors available in my store. If choosing one filter, it should change the values in other filters also based on the collection type.
If somebody has this issue resolved, I would be very much pleased if you help me with this.
SECOND THING
One more issue is when I select filter A, the theme gives me the results associated with that filter but when i click Filter B (filter A being selected already) the theme gives me no results instead it shows that no products matching. Somebody with this issue???
Example: www.mytheme/collections/fine/opt1+opt2
This works as an AND statement. But I want to show results from both, opt1 and opt2.
Shopify should work with OR statements. Like combined results of filter A and Filter B.
how to develop the extension to display query result on a board? Such thing is not possible in the Azure Devops unfortunatelly. I've found two extensions on the marketplace which are doing what I need:
AA Query Board
Query based boards
but this extensions are not updated for a long time and I couldn't contact the authors (I need to change few things in order to be able to use it internally in my company).
I've found also this topic Add tabs on query result pages, so it looks like it's quite easy to add new tab to the query result menu, but I have no idea and I can't find any info how to get data (work items) from query result to display them?
Rest of the extension is just to display this data in grid, so that would be also quite easy, but getting this query result data is blocking me.
There is a Query Results Widget that you can use to display the query results on the Dashboards under Overview.
1, First you need to create a shared query if not exist, and save query to the shared queries folder shown as below screenshot. (You can click the Column options from the Editor page to add and remove columns to be shown on the results)
Or drag and drop the query from My Queries folder to Shared Queries folder.
2, Go to Dashboards under Overview, and Click Edit, then search and add widget Query results
3, Click the gear icon on the Query Results widget to configure it and select the query you want to display. Then the query result will be display on the Dashboards
Update:
There are some other ways to show the query results on the dashboards, For below example:
you can select your shared query and click more actions(3dots) and click Add to dashboards. This will display simple total number of query results.
you can also create different Charts for the query results and add it to Dashboards.
Select your shared query and go to Charts tab, the choose New Chart, select a Chart type, After you configured the chart, you can click the 3dots on the chart and add it to dashboards, check below screenshot:
Eventually I managed to contact the author of the "AA Query Board" extension and it turns out that he has a public repository on GitHub with the source code of the extension, so basically everyone can lookup how it's done or base on it.
Link to the repository: https://github.com/staticnz/aa_query_board
I'd like to get the repositories that make the most active use of milestones and/or projects. By "most active" I mean something like most cards moved on a project board or most issues added to a milestone.
I tried GH Archive which has yearly datasets on Google bigquery. I ran this query
SELECT
JSON_EXTRACT(payload, '$.action')
FROM
[githubarchive:year.2017]
WHERE
type in ("IssuesEvent")
and JSON_EXTRACT(payload, '$.action') in ("milestoned", "labeled", "assigned")
LIMIT
20
and this query
SELECT
type
FROM
[githubarchive:year.2017]
WHERE
type IN ("MilestoneEvent",
"ProjectEvent",
"ProjectCardEvent")
LIMIT
20
Both return zero results. Does GH Archive not import all events? Am I making a mistake in the queries? Is there another source where I can get this information?
We have added 5 custom fields but are unable to find a way to filter based on data in these fields. Anyone any ideas or resolved this?
Custom fields have been added in VSTS using customization under Process settings.
The feature is available in VSTS.
Below is the detail steps to add a custom field and filter query work items based on the custom field (you can compare with your steps):
1. Add a custom field
In the Process page (https://account.visualstudio.com/_admin/_process) -> Processes Tab -> select the inherited process -> select the work item type you want to add a field (such as PBI in the example) -> New field -> specify the field you add (it's newField in the example).
2. Query work items based on the custom field
Go to a project which you are using the inherited process -> Work Hub -> Queries Tab -> specify the custom field to filter the work items.
At this moment there is no support for this on Boards and Backlogs. Queries as described by Marian might be your best bet. There is an open ticket for it. Please vote to (hopefully) prioritize this.
https://developercommunity.visualstudio.com/idea/606538/add-the-ability-to-filter-boards-by-custom-fields.html
https://developercommunity.visualstudio.com/content/problem/1270736/how-can-i-add-my-custom-filter-columns-in-boards-a.html