Discussion:
[Mayan EDMS: 2332] UI suggestion
RW Shore
2018-03-10 10:41:15 UTC
Permalink
The ordering of metadata tags is not consistent from page to page. In
particular, the display on the document-type setup page where one specifies
the allowed metadata types for a document type sorts the metadata types
alphabetically by label. The display of metadata fields on the
recent-documents page or the all-documents page is, in contrast, uses
metadata-type-definition order (that is, the ordering is by the metadata
type ID number). For both consistency and user understanding, I suggest
sorting the metadata fields on the recent/all-documents pages by the
metadata type label.
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
e***@gmail.com
2018-03-13 05:24:31 UTC
Permalink
I think metadata types are already sorted. I'll take a look.
Post by RW Shore
The ordering of metadata tags is not consistent from page to page. In
particular, the display on the document-type setup page where one specifies
the allowed metadata types for a document type sorts the metadata types
alphabetically by label. The display of metadata fields on the
recent-documents page or the all-documents page is, in contrast, uses
metadata-type-definition order (that is, the ordering is by the metadata
type ID number). For both consistency and user understanding, I suggest
sorting the metadata fields on the recent/all-documents pages by the
metadata type label.
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
e***@gmail.com
2018-03-13 05:29:03 UTC
Permalink
Git blame show that Michael was working on that a few days ago.

e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 165) class Meta:
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 166) ordering = ('metadata_type',)
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 167) unique_together = ('document', 'metadata_type')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 168) verbose_name = _('Document metadata')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 169) verbose_name_plural = _('Document metadata')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 170)
Post by e***@gmail.com
I think metadata types are already sorted. I'll take a look.
Post by RW Shore
The ordering of metadata tags is not consistent from page to page. In
particular, the display on the document-type setup page where one specifies
the allowed metadata types for a document type sorts the metadata types
alphabetically by label. The display of metadata fields on the
recent-documents page or the all-documents page is, in contrast, uses
metadata-type-definition order (that is, the ordering is by the metadata
type ID number). For both consistency and user understanding, I suggest
sorting the metadata fields on the recent/all-documents pages by the
metadata type label.
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Michael Price
2018-03-13 05:43:15 UTC
Permalink
Yes, that change is already commited into versions/next.
Post by e***@gmail.com
Git blame show that Michael was working on that a few days ago.
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 166) ordering = ('metadata_type',)
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 167) unique_together = ('document', 'metadata_type')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 168) verbose_name = _('Document metadata')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 169) verbose_name_plural = _('Document metadata')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 170)
Post by e***@gmail.com
I think metadata types are already sorted. I'll take a look.
Post by RW Shore
The ordering of metadata tags is not consistent from page to page. In
particular, the display on the document-type setup page where one specifies
the allowed metadata types for a document type sorts the metadata types
alphabetically by label. The display of metadata fields on the
recent-documents page or the all-documents page is, in contrast, uses
metadata-type-definition order (that is, the ordering is by the metadata
type ID number). For both consistency and user understanding, I suggest
sorting the metadata fields on the recent/all-documents pages by the
metadata type label.
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
RW Shore
2018-03-13 12:18:31 UTC
Permalink
Thanks. It must not yet be in the mayan NG docker image I'm using.
Post by Michael Price
Yes, that change is already commited into versions/next.
Post by e***@gmail.com
Git blame show that Michael was working on that a few days ago.
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 166) ordering = ('metadata_type',)
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 167) unique_together = ('document', 'metadata_type')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 168) verbose_name = _('Document metadata')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 169) verbose_name_plural = _('Document metadata')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 170)
Post by e***@gmail.com
I think metadata types are already sorted. I'll take a look.
Post by RW Shore
The ordering of metadata tags is not consistent from page to page. In
particular, the display on the document-type setup page where one specifies
the allowed metadata types for a document type sorts the metadata types
alphabetically by label. The display of metadata fields on the
recent-documents page or the all-documents page is, in contrast, uses
metadata-type-definition order (that is, the ordering is by the metadata
type ID number). For both consistency and user understanding, I suggest
sorting the metadata fields on the recent/all-documents pages by the
metadata type label.
--
---
You received this message because you are subscribed to the Google Groups
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Michael Price
2018-03-15 18:43:53 UTC
Permalink
It's in the branch I'm working on right now. This will be the on the next
release and Eric will add it to the Docker image. You can checkout the work
we've been doing at
GitLab: https://gitlab.com/Michael.Price/mayan-edms/tree/versions/next

On a related UI note, Eric finished his work on the single page app branch
code and was merged a few days ago. It is amazing! The speed boost is
insane. It also opens the door for some great additions in the future.
Additions like being able to edit the tags or the metadata of a document
while remaining on the preview window. Eric is experimenting with dynamic
javascript split screens to achieve these. There's going be a couple of
interesting release down the line.
Post by RW Shore
Thanks. It must not yet be in the mayan NG docker image I'm using.
Post by Michael Price
Yes, that change is already commited into versions/next.
Post by e***@gmail.com
Git blame show that Michael was working on that a few days ago.
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 166) ordering = ('metadata_type',)
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 167) unique_together = ('document', 'metadata_type')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 168) verbose_name = _('Document metadata')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 169) verbose_name_plural = _('Document metadata')
e88050747a mayan/apps/metadata/models.py (Michael Price 2018-03-10
13:18:55 -0400 170)
Post by e***@gmail.com
I think metadata types are already sorted. I'll take a look.
Post by RW Shore
The ordering of metadata tags is not consistent from page to page. In
particular, the display on the document-type setup page where one specifies
the allowed metadata types for a document type sorts the metadata types
alphabetically by label. The display of metadata fields on the
recent-documents page or the all-documents page is, in contrast, uses
metadata-type-definition order (that is, the ordering is by the metadata
type ID number). For both consistency and user understanding, I suggest
sorting the metadata fields on the recent/all-documents pages by the
metadata type label.
--
---
You received this message because you are subscribed to the Google Groups
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...