Steemblr development update 10 - Searching, Search Filtering

Words
164
Reading
1 min
Listen
Play
8y

Steemblr is open source microblogging platform powered by steem blockchain . It allows user to post and explore content which is smaller than a traditional blog.

You can check developer version here: https://steemblr.com


Repository

https://github.com/snwolak/steemblr


New Features

Searching

Possibility of searching post in the database by tags which were defined during post creation. User can search in the header by just entering the term he want to search or by clicking on the tag.

Implementation of this feature was possible thanks to the new version of firebase dependency which introduced searching of element in array in firestore database.

https://github.com/snwolak/steemblr/commit/cfad953309a7e8ef31725bad2fdf1d121bc41c48

https://github.com/snwolak/steemblr/commit/1b43bb2ccc279ea96a5562eefed1ca9468c0672b

https://github.com/snwolak/steemblr/commit/4bb9bc18c1d8f45ca0189e93d4455d6b08d74eb5

Filtering Search

When user is searching for example 'art' it is possible to filter result by categories:

- new,

- trending,

- text,

- photos,

- gifs,

- quotes,

- audio,

- video.

so it is possible to show only art videos for example.

Similar to explore section it was implemented by using redux action and a lot of switch statements to handle actual state of the app.

https://github.com/snwolak/steemblr/commit/4bb9bc18c1d8f45ca0189e93d4455d6b08d74eb5

Github Account

https://github.com/snwolak


If you want to get involved, got questions, ideas, feature request you can contact me on discord https://discord.gg/hHmZgk6