Giter VIP home page Giter VIP logo

ballerina-dev-website's People

Contributors

anupama-pathirage avatar ashweni avatar azinneera avatar daneshk avatar dilansachi avatar dilhasha avatar dinushan20 avatar dulajdilshan avatar iamsameeraliyanage avatar ibaqu avatar irushil avatar keizer619 avatar ldclakmal avatar lnash94 avatar madhuramendis avatar maryamzi avatar nipunaranasinghe avatar niveathika avatar praneesha avatar pubudu91 avatar sahanhe avatar samallama avatar shafreenanfar avatar sm1990 avatar tharmigank avatar thimuth avatar thisaruguruge avatar udda1996 avatar xlight05 avatar yasithd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ballerina-dev-website's Issues

[Documentation] How to deploy and run section please include --b7a.config.secret flag usage

Description:
In how to deploy and run ballerina programs documentation page [1], please include the usage of
--b7a.config.secret=path/to/secret/file flag.
[1] https://ballerina.io/learn/how-to-deploy-and-run-ballerina-programs/
Version 1.0

Steps to reproduce:
N/A

Affected Versions:
V1.0 documentation

OS, DB, other environment details and versions:
N/A

Related Issues (optional):
N/A

Suggested Labels (optional):
Documentation
How to deploy and run ballerina programs

Suggested Assignees (optional):
Pubudu Fernando (pubudu91)

Getting setup heading in the Learn page need to be improved

The heading is worded as "Getting set up to dance". IMO, this is just taking the whole Ballerina narrative too far. Kind of similar to the issue we had with the following line in the bad-sad error: We thank you for helping make us better dancers

Google result does not show proper discription

Description:
When I search ballerina lang on google, wrong description is shown for ballerina.
(I'm talking about the description under the link, not the right side pane extracted from wikipedia in other 2 screenshots)

Screen Shot 2019-09-10 at 2 27 17 PM

Reference.
Screen Shot 2019-09-10 at 2 27 32 PM
Screen Shot 2019-09-10 at 2 27 48 PM

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

BBE Incorrect Links in Github Icons

Events getting loaded under Learn

Description:
When you click on the 'Events' you will be redirected to following page which shows

Home>>Learn>>Events

image

And when you click on the Learn, nothing happens.

Quick Tour Documentation issues

Description:
1.In the quick tour documentation ballerina run hello_service.bal is not highlighted as a command.
2.Step 9 says only add and subtract are implemented, but all 4 functions have been already implemented.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Guides redirecting to the Ballerina home page

Description:
When you Google search for a simple example such as "Restful services in Ballerina" it shows a guide "RESTful Service - Ballerina.io" as the topmost result. But when you click on it redirects to the Ballerina home page. This is the case for most of the guides.

We should redirect it to the correct page, since this could have a significant impact on user experience.

Affected Versions:
Ballerina 1.0.0

Revamp the Quick Tour

Description:
This is to revamp and improve the current structure of the Quick Tour[1].

[1] https://ballerina.io/learn/quick-tour/

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, Browser, other environment details and versions:

Steps to reproduce:

Related Issues:

Add Example For Project JDBC Configuration

Description:
Previous version of ballerina would allow for importing jdbc jars into a kubernetes based project via @kubernetes:Deployment:

copyFiles:[
        {
            target:"/ballerina/runtime/bre/lib/mssql-jdbc-6.4.0.jre8.jar",
            sourceFile:"./conf/mssql-jdbc-6.4.0.jre8.jar"
        }
    ]

With ballerina 1.x.x versions moving away from the base ballerina image and towards an openjdk base image, users will have to create a module in the project and place the jdbc jar in that module for it to be usable in the docker image.

Reference: https://stackoverflow.com/questions/58228578/ballerina-docker-image-with-mysql-driver-how-to/58230137#58230137

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Google searches returns invalid pages

A lot of people tend to google for finding API docs etc. related to Ballerina. And most of the top results tend to be old links which don't exist anymore and hence returns 404. Is there something we can do about this, to ensure the old pages are removed from the indexing? Or does this have to happen in time?

Remove the CLI Commands Section from the Learn Page

Description:
We need to improve the structure of the Learn page.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, Browser, other environment details and versions:

Steps to reproduce:

Related Issues:

[Playground Widget] Tab selection is not persisting

Description:
After selecting a tab and change the sample, it's always going to the "Source" tab. Need to persist users selection.

playground_widget_ux

Affected Product Version:
v0.9.016

OS, DB, other environment details and versions:
All

Steps to reproduce:
Refer the screenshot above

Remove the $ prompt in code blocks in BBEs

Description:
If you double-click (on a Mac) to select the block then paste it into a terminal session you get:

laptop:~ phil$ $ ballerina new quick-tour
-bash: $: command not found

This can quickly become irritating as it takes time to remove and is a bad user experience to the point where I've stopped using several sites that do this.

Docker, for instance, doesn't do it and their site is exemplary.

Steps to reproduce:
Check ay Ballerina By Example's run command exmaple
Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Compress GIFs to Reduce the Loading Time

Description:
There are many screen recordings added to the website (mainly in the Tooling section). We can compress and reduce the size of them so that it will have an impact in improving the loading time of the website.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Need to rethink the organization of BBEs

Currently the way we have organized BBEs page seems to be kind of a mix of language/std lib concepts and how-to kind of examples. In this style of organization, some of the important aspects which we need to illustrate through the examples either gets lost or buried in some obscure example.

For example, if we take records, we have a separate heading under which we have several examples demonstrating various aspects of records. But examples regarding how records can and should be used in practice are scattered across other examples. Record to JSON conversion and vice versa is under the JSON/XML section and how to access and deal with optional fields in records is in "optional field access" under value/type operations. For someone just starting to learn the language, it might not be immediately apparent that these different examples are interconnected.

Another instance I came across is handling/manipulating files. This info seems to be missing altogether in BBEs. There's a section on I/O, but those examples are organized in such a way that they explain each of the features offered by the I/O library.

Playground widget: bad UX on iPhone. Page crashing

Description:
When I open the page ballerina.io on iPhone then I can not (easy) scroll through the code and read it. sometimes it goes into editor and zoom in. Pages chrashing and iOS Safari read the page

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:
iPhone 6S+
iOS11.4.1
Safari

Steps to reproduce:

  • open ballerina.io on iPhone
  • select an different example in playground
  • not the full code is visible
  • try to scroll through the source code
  • it scrolls only sometimes one line per scroll
  • many times a swipe has no effecr
  • many times a swipe result placing cursor in code and going to editor mode (zoom in + show keyboard) - you struggle hard to zoom out and exit the editor mode
  • many times full page crashing and page is reloaded

Quick Fix
One very helpfullquick fix can be: autoexpand the code section to show the full code after an change to a different example. Then there is no need to scroll through the code.

Related Issues:

Review and improve the content in the Learn page

In the "Build, test & run programs" section it says the following:

These everyday commands are for the very basics of being a Ballerina programmer: from compiling and running programs to testing them to generating their documentation.

This reads odd. Better if we can rephrase this.

There are multiple other places where the content needs to be improved. And came across a typo or two as well.

Need an article on how to achieve CI/CD using Ballerina

At the moment only the FAQ page discusses about CI/CD in Ballerina. But it would be great to have some doc which explains how to achieve this for at least certain scenarios. Mainly, because nowadays CI/CD is a must for any new project.

[Build][Playground Widget] Dependency vulnerability warnings

Description:

Need to fix dependency vulnerability issues. See the log below,

[INFO] --- exec-maven-plugin:1.5.0:exec (npm install) @ ballerina-playground-widget ---
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint-plugin-jsx-a11y@^6.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^15.4.2 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

audited 17082 packages in 26.119s
found 12 vulnerabilities (8 moderate, 4 high)
 run `npm audit fix` to fix them, or `npm audit` for details
[INFO]
[INFO] --- exec-maven-plugin:1.5.0:exec (install deps for composer) @ ballerina-playground-widget ---
npm WARN The package rimraf is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

audited 11025 packages in 27.128s
found 341 vulnerabilities (212 low, 105 moderate, 22 high, 2 critical)
 run `npm audit fix` to fix them, or `npm audit` for details

Affected Product Version:
0.980.0

OS, DB, other environment details and versions:
Windows

Steps to reproduce:
run mvn install from the website folder

[Quick Start] some improvement for docker related steps focusing on Ubuntu OS

Description:
Its good if the following can be updated on the document to support ubuntu platforms
1.The document should state that the docker commands has to be run as sudo

2.The command [a] can also be run without -p 9090:9090. If we run the command on the document we get an error as[b]. We could mention that -p is optional
[a] sudo docker run -d -p 9090:9090 registry.hub.docker.com/helloworld:v1.0

[b] Error starting userland proxy: listen tcp 0.0.0.0:9090: bind: address already in use.

3.The output from[c] is shown in the document as ID:991212870376534016 but it should be Hello Ballerina!. Please check this point again

[c]curl -d "Hello Ballerina" -X POST localhost:9090

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Need to Redirect ballerinaX URLs

Description:
Once a Google search is done for "Ballerina JDBC" we still get the outdated URL as the top-most result.
Screenshot 2019-11-22 at 13 36 47

Instead of the "ballerinax/jdbc" module, now we have the "ballerinax/java.jdbc" module. Therefore, we need to redirect this [1] to [2].

[1] https://ballerina.io/learn/api-docs/ballerinax/jdbc.html
[2] https://ballerina.io/learn/api-docs/ballerina/java.jdbc/index.html

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, Browser, other environment details and versions:

Steps to reproduce:

Related Issues:

Testarina Learn page need to be Updated on how Services behavs during tests

Description:
Currently Ballerina test learn page does not explain about how the services behaves during testing. Also the current implementation is different from how the services are started in previous releases ( behavior has been changed in 0.9... release ) thus the articles and blogs explain the previous behavior.

We need to update the Ballerina test learn page so that users can refer and understand how services behaves during testing.

Affected Product Version:
1.0.0

[Learn] Navigation to API documentation not straightforward

Description:
API docs are listed under Reference Documentation in the https://ballerina.io/learn page.

Currently navigating to API docs is not straightforward, unless known where to look, given that the Table of Contents also contains only high level headings. Could this be improved, maybe by providing a nested ToC indicating sub-headings such as API docs, language specification, etc. at first glance?

Review the Learn Page

Description:

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, Browser, other environment details and versions:

Steps to reproduce:

Related Issues:

[Quick Start Guide] Improvements on new folder/ file creation location

Description:
In all of the following screenshots, there are multiple instances where it's said to create a new file or folder by right clicking on a folder. Creating a new file by this method is not possible in linux and also more importantly, it's unclear whether the new file or folder should be created inside the existing folder or at the same level.
Screenshot 1:
er1
Screenshot 2:
er2
Screenshot 3:
er3

Therefore my suggestion is that it would be better if it is specified in a clearer way such as "Create a new file inside the calculator folder" or "Create a new folder on the same level as calculator folder".
Example solution:
sol1

OS, DB, other environment details and versions:
Ubuntu 18.04.3

Search function is not available in Bio website

Description:
The search functionality which was very useful for navigating through the website is not there in the 1.0.0 website. It would be very nice to have it back.

Affected Product Version:
JBallerina 1.0.0

[API-Docs] Kuberenetes Deployment Configuration - env 404

Description:
While in the Api-Docs > ballerinax/kubernetes > DeploymentConfiguration the link for env data types

map<string\|kubernetes:FieldRef\|kubernetes:SecretKeyRef\|kubernetes:ResourceFieldRef\|kubernetes:ConfigMapKeyRef>
-- | --

links to a 404 -> here
Change builtin.html#map to primitive-types.html#map

Line reference: https://github.com/ballerina-platform/ballerina-www/blob/a4882a3ca4e9bb7dbc1f656d80193da6bcb064d1/api-docs/docs/ballerinax/kubernetes.html#L2016

I was going to do a PR, but unsure if that's the desired path for the fix. 😄

Suggested Labels:
Type/UX

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

VS code and IDEA help pages are shown as sub pages of "Tools and IDEs"

Description:

We don't have a "Tools and IDEs" page now. But the VScode help page [1] and IDEA plugin help page [2] (Which are linked from learn page [3]) are shown as sub pages of "Tools and IDEs"

image

[1] https://v1-0.ballerina.io/learn/tools-ides/vscode-plugin/
[2] https://v1-0.ballerina.io/learn/tools-ides/intellij-plugin/
[3] https://v1-0.ballerina.io/learn/

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.