elective-stereophonic
elective-stereophonic
[NRS Client] Contact Labelling
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Author Topic: [NRS Client] Contact Labelling  (Read 546 times)

chevdor

  • Full Member
  • ***
  • Karma: +19/-0
  • Offline Offline
  • Posts: 166
    • View Profile
[NRS Client] Contact Labelling
« on: June 16, 2015, 11:36:45 am »

Hello,

I would like to propose a modification of way contacts are managed by the NRS client by adding the ability to label contacts (in a similar way you can tag gmail messages for instance).

As of now, contacts are defined as:
 "contacts": {
        "account": "VARCHAR(25)",
        "accountRS": "VARCHAR(25)",
        "description": "TEXT",
        "email": "VARCHAR(200)",
        "id": {
            "autoincrement": true,
            "primary": true,
            "type": "NUMBER"
        },
        "name": "VARCHAR(100) COLLATE NOCASE"
    },

I would propose the following modification:
 "contacts": {
        "account": "VARCHAR(25)",
        "accountRS": "VARCHAR(25)",
        "description": "TEXT",
        "email": "VARCHAR(200)",
        "labels": ["User", "Friend", "Whatever"],
        "id": {
            "autoincrement": true,
            "primary": true,
            "type": "NUMBER"
        },
        "name": "VARCHAR(100) COLLATE NOCASE"
    },

The main idea behind that behind to be able to filter the data.
Contacts can be used in plugins and help showing something with more meaning than an accountRS.

Use cases:
- For instance, I may want to get some reporting from some accounts. Using labels would allow me to flags the interesting accounts to be included in my reports.
- With this feature, I could label the accounts related to Assets paying dividends in order to ONLY see those in a specific report (not going into the discussion dividends vs ordinary payments :))
- As big forger (which I am not - I forged 5 NXT alltogether I think - but I know there are), it would be then possible to label some accounts as 'forgers' in order to keep and eye and see how they perform

What do you think?
Logged
NXT-YCLA-V44V-USJK-3GPJD
BM-2cXnA5HdtsDttGaPEAJd1oYX3zMbiKDewV
 

elective-stereophonic
elective-stereophonic
assembly
assembly