Salz0 / telegram_flea

A open-source flea market bot, to be used in any Community
MIT License
9 stars 20 forks source link

📥 Implement Reply-Markup Buttons for a User-Friendly Experience #2

Closed Salz0 closed 1 year ago

Salz0 commented 1 year ago

Enhance user interaction by replacing text commands with intuitive action buttons. 🚀🔘

Expected Behavior: Instead of typing commands, users can click on the keyboard buttons for common actions, making the app more user-friendly and accessible. 🤖📲

Docs: https://docs.aiogram.dev/en/latest/api/types/reply_keyboard_markup.html

Example: https://github.com/aiogram/aiogram/blob/dev-2.x/examples/regular_keyboard_example.py

Make it simple

Ferdinand-Ogama commented 1 year ago

Hello @Salz0 can I work on this issue?

Salz0 commented 1 year ago

Hello @Salz0 can I work on this issue?

Sure, go ahead! 💌

Salz0 commented 1 year ago

Hello @Salz0 can I work on this issue?

One thing, I made a small error, instead of inline buttons, let's do the basic one's as reply button

Would be much better to have the /sell as such a button, it's better for the UX

Sorry for the confusion 🙇‍♂️

Ferdinand-Ogama commented 1 year ago

@Salz0 Honestly, I'm struggling with step 3.5, creating a virtual environment with poetry and setting up the project by adding .env variables. Apologies, I am new to Python and the entire software dev ecosystem.

Kindly guide me here or point me to materials.

Ferdinand-Ogama commented 1 year ago

Then, I don't know whether it's a bug or so. After installing requirements, unfortunately, the project couldn't build wheels for some dependencies. "ERROR: Could not build wheels for aiohttp, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects."

The online solutions such as https://github.com/psf/black/issues/3483 AND this one: https://stackoverflow.com/questions/75572301/error-could-not-build-wheels-for-aiohttp-frozenlist-multidict-yarl-which-is aren't helping.

Salz0 commented 1 year ago

Then, I don't know whether it's a bug or so. After installing requirements, unfortunately, the project couldn't build wheels for some dependencies. "ERROR: Could not build wheels for aiohttp, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects."

The online solutions such as https://github.com/psf/black/issues/3483

AND

this one: https://stackoverflow.com/questions/75572301/error-could-not-build-wheels-for-aiohttp-frozenlist-multidict-yarl-which-is

aren't helping.

Hey, what version of python are you using? Also, did you make sure to download poetry using pip?

Take a look at Poetry's official documentation

https://python-poetry.org/docs/basic-usage/ Let me know if it helps!