Skip to content

Fix #1193. Implementation of Group Manager#1289

Merged
offtherailz merged 5 commits into
geosolutions-it:masterfrom
offtherailz:i1193
Nov 24, 2016
Merged

Fix #1193. Implementation of Group Manager#1289
offtherailz merged 5 commits into
geosolutions-it:masterfrom
offtherailz:i1193

Conversation

@offtherailz

@offtherailz offtherailz commented Nov 22, 2016

Copy link
Copy Markdown
Member

The group manager is accessible from the "Manage Groups" button, as in this mockup:
http://lf.mapstore2.geo-solutions.it/samples/map/manager.html

It is implemented using the users look and feel.
Access from here:
image
Then you can create, search, edit and delete groups.
image

Create or Edit

image
image

Note: Editing allows to change only the user members, not group name or description (GeoStore do not provide this functionality).

delete

image

The group manager is accessible from the "Manage Groups" button, as in this mockup.
It is implemented using the users look and feel.
@offtherailz

Copy link
Copy Markdown
Member Author

Only one thing doesn't seems immediate for a user.
The pages of the users and the groups are very similar. This means that the user can be confused.

image
image

Should we indicate somewhere on the top that we are watching users (or groups) page? Like this:
image

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.3%) to 80.214% when pulling 51ae99b on offtherailz:i1193 into 64e174c on geosolutions-it:master.

@offtherailz

Copy link
Copy Markdown
Member Author

Just set the "new" buttons to green, both for user and group manager as it is in the mockup.
image

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.4%) to 80.307% when pulling db4a157 on offtherailz:i1193 into 64e174c on geosolutions-it:master.


require('./style/usercard.css');

const UserCard = React.createClass({

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GroupCard

}}><Message msgId="usergroups.noUsers"/></div>);
}
// NOTE: faking group Id
return (<UsersTable users={members.sort((u1, u2) => u1.name > u2.name)} onRemove={(user) => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sort is mutating members, can we avoid it?

const React = require('react');
const {Button, Glyphicon, Table, OverlayTrigger, Tooltip} = require('react-bootstrap');
const Message = require('../../I18N/Message');
var UsersGrid = React.createClass({

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UsersTable

@MV88

MV88 commented Nov 22, 2016

Copy link
Copy Markdown
Contributor

Btw something that tell the user where he is should be added imho.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.4%) to 80.307% when pulling cddae51 on offtherailz:i1193 into 64e174c on geosolutions-it:master.

@offtherailz

Copy link
Copy Markdown
Member Author

About the title, it is ok?

groups-users-ms2

This allow to distinguish the page. Also added missing i18n (FR and IT)
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.4%) to 80.307% when pulling eeb64e3 on offtherailz:i1193 into 64e174c on geosolutions-it:master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.4%) to 80.299% when pulling eeb64e3 on offtherailz:i1193 into 64e174c on geosolutions-it:master.

@offtherailz offtherailz merged commit 56df40b into geosolutions-it:master Nov 24, 2016
@offtherailz offtherailz deleted the i1193 branch January 26, 2018 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants