Show on user card

(Joshua Rosenfeld) #1

Feature request: Can the staff notes icon appear on the user profile card? Would be nice to be able to add/view a note from the latest view.

6 Likes

Staff Notes Plugin
(Jeff Atwood) #2

Probably a good idea for it to show somewhere on the user card.

6 Likes

(Jay Pfaffman) #3

Just had an admin ask for this.

This should be doable now in a Theme, right?

1 Like

(Jay Pfaffman) #4

It’s three years later. Do you still think it’s a good idea to show a staff notes link (or some of the notes?) on the user card?

2 Likes

(Sam Saffron) #5

Maybe … the tricky thing is what would happen when you click the icon. Cause you don’t want absolutely position a window on top of another absolutely positioned window.

0 Likes

(Jay Pfaffman) #6

Oh. I think it’d just go do the user page (which it does anyway), I think that the idea is just making it easier to see that there are staff notes, and, perhaps, to add them to the user card if there is room.

3 Likes

(Sam Saffron) #7

Hmmm it does not take you to the user page now, it pops a modal:

Modal squared is not ideal. I guess adding the icon next to where the cakeday icon goes now is fine, and having it link to the user page with a tooltip.

Sure, I support that change.

0 Likes

(Jay Pfaffman) #8

Oops. Yeah. The double-modal is yucky. I guess that’s why he wanted such a change.

Could a theme component squeeze the staff note or the beginning of it, to the card?

Support as in #pr-welcome or support as in, someone will be on it next week. :wink:

0 Likes

(Sam Saffron) #9

We will take this once we free up… some time in the next few weeks.

3 Likes

(Vinoth Kannan) #11

It’s done.

https://github.com/discourse/discourse-staff-notes/commit/52338dd6eb837724b18e5850fd3355eae8a442ee

I like to show the “staff notes” popup itself instead of redirecting. What if I closed the user card before opening staff notes popup? I’m able to do it like this.parentView.parentView._close()

5 Likes

(Sam Saffron) #12

I am not sure, @awesomerobot what do you recommend we do here?

0 Likes

(Kris) #13

Closing the usercard and opening the notes modal seems fine to me — I think it would be better than redirecting to the user page.

7 Likes

(Vinoth Kannan) #14

Done :+1:

6 Likes

(Vinoth Kannan) closed #15

This topic was automatically closed after 5 days. New replies are no longer allowed.

0 Likes