Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

display no documents and loading message #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Hyeongee
Copy link

@Hyeongee Hyeongee commented Dec 7, 2022

I fix #108 (comment).
(add no document message and loading message)

Copy link
Owner

@bauerj bauerj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for your pull requests!

I have some remarks, could you take a look at it?

return Container(
height : 100,
margin : EdgeInsets.symmetric(horizontal : 100, vertical : 100),
child : Column(
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a CircularProgressIndicator would look better instead of the text.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, this may be shown if the request fails. Can you change this so it only shows when requesting == true?

style : TextStyle(fontSize : 15),
textAlign : TextAlign.center,),

Text(('$searchString').i18n,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the .i18n, we don't want to translate the search string 🙂

margin : EdgeInsets.symmetric(horizontal : 100, vertical : 100),
child : Column(
children:[
Text("There are no documents \n containing".i18n,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why you didn't want to use Heading instead of Text? Are there visual issues?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display no documents message and loading message
2 participants