-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix pagination for Users page #1846
Comments
suggesting to the following:
|
@marla-singer we have to consider whether 'font-awesome' is a dependency of the 'account-admin-ui' package. If we want to use FontAwesome icons in the 'account-admin-ui' package, then we need to add FontAwesome as a dependency in the package.json. What is your preference? |
@brylie As for me they are the same, I don't have any preference in the fonts |
@Nazarah Which values for dropdown list do you suggest? I thought about 25,50,75,100. |
@marla-singer OK, lets keep our dependencies simple then. Our users table already relies on Bootstrap, so GlyphIcons are directly available. |
@Nazarah @marla-singer I think it would be enough to have one sensible default for number of users shown on the page. No dropdown to select nr of users required. This page is only accessible for admins. (Unless you have already started to implement this.) |
@bajiat Okay, no one dropdown list 👌 |
@brylie Could you please give me advice how i can implement internationalization in package to use it after in APINF project? |
@bajiat Now It looks like this: |
@marla-singer Looking good! Great to have both pagination and total number of users. Also makes sense to have actions on the right side. |
Could we show the username under 'name' instead of email here? That would close a related issue #909 |
@brylie Yes, we can.
I learnt Meteor Docs about users colletion: http://docs.meteor.com/api/accounts.html#Meteor-users What do you think? |
I would recommend simply showing the username field directly: {{# each users }}
...
<td>
{{ username }}
</td>
...
{{/ each }} This is for two reasons:
|
@marla-singer User name was an optional item in definition of done, but it's great if you can implement that as well. |
@brylie PR is ready https://github.com/brylie/meteor-accounts-admin-ui-bootstrap-3/pull/1 TODO:
|
@marla-singer, you can use See Meteor package.js docs |
@brylie I pointed dependencies |
@bajiat The PR was merged. apinf/meteor-accounts-admin-ui-bootstrap-3#3 |
The Users page is used for adding admin rights to users and deleting users. The page is only available for admins.
Currently it is not possible to view all users if the number of users exceeds one page, since there is no pagination. Add pagination functionality to Users page. Also, total number of users could be useful informatio, for example, as part of pagination: "showing 1-20 users of 325 users"
Consider either fixing the package or finding an alternative one.
Definition of done
The text was updated successfully, but these errors were encountered: