question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support ordering of fields (meta).

Ordering information should be stored in an attribute. The attribute key could be as such: metaOrder:someAttributeName. The order should be numeric, 0 and upwards. If a meta item does not have an order attribute, it should be placed at the end of the list in random order (as it falls).

Helpers to get the order should be provided. A helper to reset the order of each item should be provided. Some kind of interface to manage changing the order should be provided. Discuss any ideas here before implementation.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:4
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ldexterldesigncommented, May 28, 2020

FYI

Slloooowwwlllyy working on this…

I’m not working on this any more in case anyone else wants to pick it up

Unfortunately I don’t think my JS is far enough along to attempt the PR + I’m currently doing svelte where once I hoped to learn react

Apologies

1reaction
perry-mitchellcommented, Jan 29, 2019

Also good to note that the deleteProperty method should be modified to also delete the order attribute, if it exists. I’m not sure that setProperty needs to set the order, but I could be swayed either way.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ordered field - Wikipedia
In mathematics, an ordered field is a field together with a total ordering of its elements that is compatible with the field operations....
Read more >
09-16 - Field Ordering Officer and Paying Agent Handbook
This handbook addresses the roles and functions of Soldiers performing as field ordering officers (FOOs) and paying agents. The Army relies on contracts...
Read more >
Field order Definition & Meaning - Merriam-Webster
The meaning of FIELD ORDER is a combat order of prescribed form giving instructions for a specific operation.
Read more >
Field Order -- from Wolfram MathWorld
The order of a finite field is the number of elements it contains.
Read more >
Field Order Definition: 311 Samples | Law Insider
Field Order means a written order that orders minor changes in the Work but which does not involve a change in the Contract...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found