plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Follow and New Post buttons are stacked on each other when there's a lot of text

Open TildaDares opened this issue 3 years ago • 26 comments

On the user's profile page, the New Post and Follow buttons are stacked on top of each other when there's a lot of text. It would be nice if the buttons could go below the text when there's an overflow.

Screenshot 2022-03-10 at 09 39 53

You can see this demonstrated in https://publiclab.org/profile/mathildaudufo

Relevant code is in: https://github.com/publiclab/plots2/blob/cc104ae472ddbb18aa94cc7f0ade0fa455c23cff/app/views/tag/_topicCard.html.erb#L44-L56

TildaDares avatar Mar 10 '22 08:03 TildaDares

Hi @TildaDares, Can I work on this issue? I have my name tagged in this list in #10153, so am I eligible to solve this?

Varshini-k-02 avatar Mar 10 '22 08:03 Varshini-k-02

Hi @Varshini-k-02, go ahead. Thanks!

TildaDares avatar Mar 10 '22 08:03 TildaDares

Hi @TildaDares. Actually I need help with erb file. I'm having trouble in making changes in the actual file while I can make changes when I inspect the card in the browser. Basically how can I make changes in the actual erb file? Please help out with some resources. I'm new to Ruby on rails.

Varshini-k-02 avatar Mar 11 '22 04:03 Varshini-k-02

@Varshini-k-02 If you want to a new class, you can just add in the style tag here: https://github.com/publiclab/plots2/blob/cc104ae472ddbb18aa94cc7f0ade0fa455c23cff/app/views/tag/_topicCard.html.erb#L63-L73

If you want to change the styling of the container div, you'll find it here: https://github.com/publiclab/plots2/blob/cc104ae472ddbb18aa94cc7f0ade0fa455c23cff/app/views/tag/_topicCard.html.erb#L38-L57

Classes are added to elements like normal HTML elements.

I hope that helps.

TildaDares avatar Mar 11 '22 13:03 TildaDares

Can I work on it? @TildaDares :)

Ash-KODES avatar Mar 16 '22 09:03 Ash-KODES

Sure @Ash-KODES, go ahead!

TildaDares avatar Mar 16 '22 09:03 TildaDares

Hi @Ash-KODES, any updates on this? Feel free to ask for help if you need it.

TildaDares avatar Mar 25 '22 22:03 TildaDares

Hi, @TildaDares Can I work on it? Complete newbie(Outreachy applicant)

divyangana009 avatar Mar 26 '22 15:03 divyangana009

Hi @divyangana009, I’m waiting on @Ash-KODES reply but in the meantime you can leave a comment in #10153 and we’ll ping you when there’s an issue available. Thanks!

TildaDares avatar Mar 26 '22 17:03 TildaDares

@divyangana009 please go ahead:) actually I am little busy...apologies

Ash-KODES avatar Mar 26 '22 17:03 Ash-KODES

@TildaDares ok! Thanks ma'am

divyangana009 avatar Mar 26 '22 17:03 divyangana009

@Ash-KODES Thanks

divyangana009 avatar Mar 26 '22 17:03 divyangana009

Hi @TildaDares, Can I work on this issue?

Prachi-22-81 avatar Apr 12 '22 09:04 Prachi-22-81

Hi @TildaDares Can I work on it? (outreachy applicant and first issue)

SAKSHI993 avatar Apr 12 '22 11:04 SAKSHI993

Hi @SAKSHI993, go ahead. Thanks!

TildaDares avatar Apr 12 '22 16:04 TildaDares

Hello @TildaDares , It seems no one is working on this, I would love to solve this issue?

VictoriaAjala avatar Jun 09 '22 10:06 VictoriaAjala

Hi @VictoriaAjala, please go ahead. Thanks!!

TildaDares avatar Jun 09 '22 15:06 TildaDares

Hello @TildaDares I'm having issues setting up this project on my PC.

I keep getting the errors in the images below anytime I run Run rake db:setup

image

image

image

I use Manjaro linux.

VictoriaAjala avatar Jun 20 '22 13:06 VictoriaAjala

Hi @VictoriaAjala, mysql2 can be very problematic. Instead of using that, you can use sqlite3. On step 7 of the installation manual, do the second bullet point instead of the first.

Delete config/database.yml.mysql.example if you've already created it.

TildaDares avatar Jun 20 '22 18:06 TildaDares

Hi @TildaDares, can I work on this issue?

gunesnt avatar Jun 21 '22 09:06 gunesnt

Hi @gunesnt, @VictoriaAjala is currently working on this. If you're interested, you could work on https://github.com/publiclab/plots2/issues/11101.

TildaDares avatar Jun 21 '22 09:06 TildaDares

Thank you @TildaDares I'd setup sqlite3 instead.

VictoriaAjala avatar Jun 21 '22 19:06 VictoriaAjala

Hi @gunesnt, @VictoriaAjala is currently working on this. If you're interested, you could work on #11101.

thank you, I am looking at issue #11101.

gunesnt avatar Jun 22 '22 01:06 gunesnt

image

I get unable to connect to github whenever I run: rails webpacker:install && rails webpacker:install:react && rails generate react:install

VictoriaAjala avatar Jun 22 '22 18:06 VictoriaAjala

@VictoriaAjala It might be an issue with the network connection.

TildaDares avatar Jun 22 '22 19:06 TildaDares

Can you try it again after some time and see how it goes?

TildaDares avatar Jun 22 '22 19:06 TildaDares

Closed in #11260

TildaDares avatar Sep 04 '22 15:09 TildaDares